ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ColumnBase Class / AllowSorting Property






In This Topic
    AllowSorting Property (ColumnBase)
    In This Topic
    Gets or sets whether the user can sort this column by clicking its header.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Property AllowSorting As System.Boolean
    'Usage
     
    
    Dim instance As ColumnBase
    Dim value As System.Boolean
     
    instance.AllowSorting = value
     
    value = instance.AllowSorting
    [System.ComponentModel.DefaultValue(true)]
    public System.bool AllowSorting {get; set;}
    public read-write property AllowSorting: System.Boolean; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set AllowSorting : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property System.bool get_AllowSorting();
    public: __property void set_AllowSorting( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(true)]
    public:
    property System.bool AllowSorting {
       System.bool get();
       void set (    System.bool value);
    }
    See Also