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






In This Topic
    PredefinedRanges Property (InputDateBase)
    In This Topic
    Gets or sets a function that return the predefined ranges.
    Syntax
    'Declaration
     
    
    <JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)>
    Public Property PredefinedRanges As System.String
    'Usage
     
    
    Dim instance As InputDateBase
    Dim value As System.String
     
    instance.PredefinedRanges = value
     
    value = instance.PredefinedRanges
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public System.string PredefinedRanges {get; set;}
    public read-write property PredefinedRanges: System.String; 
    JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)
    public function get,set PredefinedRanges : System.String
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public: __property System.string* get_PredefinedRanges();
    public: __property void set_PredefinedRanges( 
       System.string* value
    );
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public:
    property System.String^ PredefinedRanges {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks
    This property is useful only when the SelectionMode property is set to DateSelectionMode.Range. Predefined ranges with null values represent custom ranges to be defined by users by clicking on the calendar.
    See Also