ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Menu Class / IsContentHtml Property






In This Topic
    IsContentHtml Property (Menu)
    In This Topic
    Gets or sets a value indicating whether the drop-down list displays items as plain text or as HTML.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Overrides Property IsContentHtml As System.Boolean
    'Usage
     
    
    Dim instance As Menu
    Dim value As System.Boolean
     
    instance.IsContentHtml = value
     
    value = instance.IsContentHtml
    [System.ComponentModel.DefaultValue(true)]
    public override System.bool IsContentHtml {get; set;}
    public read-write property IsContentHtml: System.Boolean; override; 
    System.ComponentModel.DefaultValueAttribute()
    public override function get,set IsContentHtml : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property System.bool get_IsContentHtml() override;
    public: __property void set_IsContentHtml( 
       System.bool value
    ) override;
    [System.ComponentModel.DefaultValue(true)]
    public:
    property System.bool IsContentHtml {
       System.bool get() override;
       void set (    System.bool value) override;
    }
    See Also