ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Control Class / CssClass Property






In This Topic
    CssClass Property (Control)
    In This Topic
    Gets or sets the css class of the control.
    Syntax
    'Declaration
     
    
    <C1IgnoreAttribute()>
    Public Property CssClass As System.String
    'Usage
     
    
    Dim instance As Control
    Dim value As System.String
     
    instance.CssClass = value
     
    value = instance.CssClass
    [C1Ignore()]
    public System.string CssClass {get; set;}
    public read-write property CssClass: System.String; 
    C1IgnoreAttribute()
    public function get,set CssClass : System.String
    [C1Ignore()]
    public: __property System.string* get_CssClass();
    public: __property void set_CssClass( 
       System.string* value
    );
    [C1Ignore()]
    public:
    property System.String^ CssClass {
       System.String^ get();
       void set (    System.String^ value);
    }
    See Also