Tri-State TreeView Checkbox

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
User avatar
ALIENQuake
Posts: 66
Joined: Sun Mar 03, 2013 12:45 pm
Has voted: 1 time

Tri-State TreeView Checkbox

Post by ALIENQuake »

Hi,

Is there an easy way to achieve Tri-State TreeView Checkbox for Powershell Forms? All examples which I found for pure c# forms require inheritance from System.Windows.Forms.TreeView/controls/etc.

jvierra
Posts: 14614
Joined: Tue May 22, 2007 9:57 am
Answers: 2
Has voted: 1 time
Been upvoted: 3 times
Contact:

Re: Tri-State TreeView Checkbox

Post by jvierra »

You have no control over the checkbox in a TreeView. These are not "Checkbox Controls". They are special checkboxes built into the TreeView class.

Locked