Skip to content

TreeView does not check children nodes when checking the parent node #996

Closed

Description

@itg-assistant

Truong Nguyen asked 2017-08-07 07:12:30 UTC

Is this a missing feature for TreeViewControl?

I try check the parent node, but its children nodes are not checked.

I found out that I can implement it with AfterCheckEvent, but is it necessary for me or any developers?

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-08-07 19:49:04 UTC

    That's by design. Automatically checking all child nodes and children of children would potentially break a lot of code since it's not a standard behavior in winforms or in most treeview controls we looked at. It also would require the opposite functionality - detect when all children are checked and automatically check the parent.

    You can find a lot of references about this related to asp.net, winforms, telerik, and many other component libraries.

    It can probably be added as an option.

    Best,

    Luca

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Truong Nguyen answered 2017-08-08 00:56:41 UTC

    Thank you for your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions