Re: TreeNode.ShowCheckBox



Use this (it's VB.NET so you'll need to translate it):
http://groups.google.com/group/microsoft.public.dotnet.framework.windowsforms/msg/0a0b6b7c0571018c?hl=en

/claes

"Alan T" <alanpltseNOSPAM@xxxxxxxxxxxx> wrote in message
news:u0msSNowGHA.2232@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
My situation is I already set the TreeView.CheckBoxes property.
But in this treeview I don't want to show all items have checkboxes, but
some of them I want to show text and icon or text only.
For example:

Office as folder
Under this "Office" folder, there are items have checkboxes.

So I want to set the TreeNode.ShowCheckBox = false for this "Office"
folder.


"Marc Gravell" <marc.gravell@xxxxxxxxx> wrote in message
news:1155876757.029790.325110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Because it doesn't exist?

There is a TreeView.CheckBoxes property (bool) if that helps any?

Marc





.



Relevant Pages

  • Re: TreeNode.ShowCheckBox
    ... But in this treeview I don't want to show all items have checkboxes, ... Under this "Office" folder, there are items have checkboxes. ... There is a TreeView.CheckBoxes property (bool) if that helps any? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ASP.NET 2.0 TreeView - Programatically Selecting A TreeView Node
    ... Check if a folder item is selected in a datagrid item in the ... The left column contains a TreeView, ... > column a DataGrid populated by selecting TreeView nodes. ...
    (microsoft.public.dotnet.framework.aspnet)
  • TreeView selectednode ghosting problem
    ... I have an app that has a custom treeview which inherits the base ... image of the folder when it is dragged and dropped to another location ... // This bitmap will contain the tree node image to be dragged ... BeginUpdateand EndUpdatebefore highlighting each node under the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: how to add node to treeview
    ... Dim node = TreeView.SelectedNode ... Also I want to be able to change the name from Nieuwe Map into ... Like in windows explorer when you create a new Folder it stays ... when I add the new node called "Nieuwe Map" and refresh the Treeview I ...
    (microsoft.public.dotnet.languages.vb)
  • Re: how to add node to treeview
    ... Like in windows explorer when you create a new Folder it stays ... when I add the new node called "Nieuwe Map" and refresh the Treeview I ... highlighted, the cursor is in the name, you edit and click somewhere ... NodeLabelEditEventArgs to true to cancel. ...
    (microsoft.public.dotnet.languages.vb)