ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ColorPicker Class / ShowAlphaChannel Property






In This Topic
    ShowAlphaChannel Property (ColorPicker)
    In This Topic
    Gets or sets a value indicating whether the ColorPicker allows users to edit the color's alpha channel (transparency).
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Property ShowAlphaChannel As System.Boolean
    'Usage
     
    
    Dim instance As ColorPicker
    Dim value As System.Boolean
     
    instance.ShowAlphaChannel = value
     
    value = instance.ShowAlphaChannel
    [System.ComponentModel.DefaultValue(true)]
    public System.bool ShowAlphaChannel {get; set;}
    public read-write property ShowAlphaChannel: System.Boolean; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set ShowAlphaChannel : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property System.bool get_ShowAlphaChannel();
    public: __property void set_ShowAlphaChannel( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(true)]
    public:
    property System.bool ShowAlphaChannel {
       System.bool get();
       void set (    System.bool value);
    }
    See Also