ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / InputDateBase Class / CloseOnSelection Property






In This Topic
    CloseOnSelection Property (InputDateBase)
    In This Topic
    Gets or sets a value that determines whether the control should automatically close the drop-down when the user makes a selection.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    Public Property CloseOnSelection As System.Boolean
    'Usage
     
    
    Dim instance As InputDateBase
    Dim value As System.Boolean
     
    instance.CloseOnSelection = value
     
    value = instance.CloseOnSelection
    [System.ComponentModel.DefaultValue(true)]
    public System.bool CloseOnSelection {get; set;}
    public read-write property CloseOnSelection: System.Boolean; 
    System.ComponentModel.DefaultValueAttribute()
    public function get,set CloseOnSelection : System.boolean
    [System.ComponentModel.DefaultValue(true)]
    public: __property System.bool get_CloseOnSelection();
    public: __property void set_CloseOnSelection( 
       System.bool value
    );
    [System.ComponentModel.DefaultValue(true)]
    public:
    property System.bool CloseOnSelection {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    The default value for this property is true.
    See Also