Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 30381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:26:20+00:00 2026-05-10T13:26:20+00:00

I have a .Net desktop application with a TreeView as one of the UI

  • 0

I have a .Net desktop application with a TreeView as one of the UI elements.

I want to be able to multi-select that TreeView, only that isn’t supported at all.

So I’m adding check-boxes to the tree, My problem is that only some items are selectable, and those that aren’t can’t consistently cascade selections.

Is there any way to disable or hide some check-boxes while displaying others?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T13:26:20+00:00Added an answer on May 10, 2026 at 1:26 pm

    The default behavior of TreeView is that when the Checkboxes property is set to true, that checkboxes will be shown for all TreeNodes.

    The behavior that you are looking for – to disable or hide some checkboxes – is a custom modification of the normal behavior. You can create a custom implementation of TreeView or TreeNode that overrides the default behavior. One other thing to try would be to use the TreeView.StateImageList property. Some sites to check out for more info:

    • See this post to the MSDN forums that goes through an implementation similar to what you are attempting.
    • CodeProject: Tri-State TreeView
    • CodeProject: How to handle custom node state images in a TreeView (e.g. tristate checkboxes)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Windows.Forms based .NET desktop application that stores privileged information in a
I have a desktop application (C# .NET 3.5) that uses a SQL server for
I have an ASP.NET MVC application that has a jQuery Treeview and a jQuery
For our application(desktop in .net), we want to have 2 databases in 2 different
I have a desktop application of address diary, developed in C# .Net. I want
I have a fairly simple desktop application that uses a .NET setup project (.msi
Assume that we have a network deployed desktop application written in .NET. We don't
I am analyzing some .net desktop application. I have found that code: if (System.Environment.ProcessorCount
I have a WPF desktop application ( .NET 4.0 ) that is talking to
I am developing desktop application using vb.net and vs2008. I have a DropDownList that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.