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

In This Topic
    IsReadOnly Property (TreeView)
    In This Topic
    Gets or sets a value that determines whether users can edit the text in the nodes. When it is set to false, users may edit the content of the tree nodes by typing directly into the nodes. The F2 key can also be used to enter edit mode with the whole node content selected.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute(True)>
    Public Property IsReadOnly As Boolean
    [DefaultValue(true)]
    public bool IsReadOnly {get; set;}
    See Also