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: 36
Joined: Sun Mar 03, 2013 12:45 pm

Tri-State TreeView Checkbox

Post by ALIENQuake » Fri May 17, 2019 2:53 pm

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.

User avatar
jvierra
Posts: 13682
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Tri-State TreeView Checkbox

Post by jvierra » Fri May 17, 2019 3:23 pm

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