ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / TreeView Class / CheckOnClick Property






In This Topic
    CheckOnClick Property (TreeView)
    In This Topic
    Gets or sets a value that determines whether to toggle checkboxes when the user clicks the node header.
    Syntax
    'Declaration
     
    
    Public Property CheckOnClick As System.Boolean
    'Usage
     
    
    Dim instance As TreeView
    Dim value As System.Boolean
     
    instance.CheckOnClick = value
     
    value = instance.CheckOnClick
    public System.bool CheckOnClick {get; set;}
    public read-write property CheckOnClick: System.Boolean; 
    public function get,set CheckOnClick : System.boolean
    public: __property System.bool get_CheckOnClick();
    public: __property void set_CheckOnClick( 
       System.bool value
    );
    public:
    property System.bool CheckOnClick {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    The default value for this property is false, which causes checkboxes to be toggled only when the user clicks the checkbox itself (not the node header).
    See Also