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






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