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






In This Topic
    ShowCheckboxes Property (TreeView)
    In This Topic
    Gets or sets a value that determines whether the TreeView control should add checkboxes to nodes and manage their state. This property can be used only on trees without lazy-loaded nodes(LazyLoadFunction is not set and IsLazyLoading is false).
    Syntax
    'Declaration
     
    
    Public Property ShowCheckboxes As System.Boolean
    'Usage
     
    
    Dim instance As TreeView
    Dim value As System.Boolean
     
    instance.ShowCheckboxes = value
     
    value = instance.ShowCheckboxes
    public System.bool ShowCheckboxes {get; set;}
    public read-write property ShowCheckboxes: System.Boolean; 
    public function get,set ShowCheckboxes : System.boolean
    public: __property System.bool get_ShowCheckboxes();
    public: __property void set_ShowCheckboxes( 
       System.bool value
    );
    public:
    property System.bool ShowCheckboxes {
       System.bool get();
       void set (    System.bool value);
    }
    See Also