ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Calendar Class / SelectionMode Property






In This Topic
    SelectionMode Property (Calendar)
    In This Topic
    Gets or sets a value that indicates whether users can select days, months, or no values at all.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property SelectionMode As DateSelectionMode
    'Usage
     
    
    Dim instance As Calendar
    Dim value As DateSelectionMode
     
    instance.SelectionMode = value
     
    value = instance.SelectionMode
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public DateSelectionMode SelectionMode {get; set;}
    public read-write property SelectionMode: DateSelectionMode; 
    System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)
    public function get,set SelectionMode : DateSelectionMode
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public: __property DateSelectionMode get_SelectionMode();
    public: __property void set_SelectionMode( 
       DateSelectionMode value
    );
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public:
    property DateSelectionMode SelectionMode {
       DateSelectionMode get();
       void set (    DateSelectionMode value);
    }
    See Also