ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / InputDateTime Class / TimeFormat Property






In This Topic
    TimeFormat Property (InputDateTime)
    In This Topic
    Gets or sets the format used to display times in the drop-down list.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute("g")>
    Public Property TimeFormat As System.String
    'Usage
     
    
    Dim instance As InputDateTime
    Dim value As System.String
     
    instance.TimeFormat = value
     
    value = instance.TimeFormat
    [System.ComponentModel.DefaultValue("g")]
    public System.string TimeFormat {get; set;}
    public read-write property TimeFormat: System.String; 
    System.ComponentModel.DefaultValueAttribute("g")
    public function get,set TimeFormat : System.String
    [System.ComponentModel.DefaultValue("g")]
    public: __property System.string* get_TimeFormat();
    public: __property void set_TimeFormat( 
       System.string* value
    );
    [System.ComponentModel.DefaultValue("g")]
    public:
    property System.String^ TimeFormat {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks
    This property does not affect the value shown in the control's input element.
    See Also