Share via


TimePicker.Format Property

Definition

Gets or sets the format string for displaying the time. This is a bindable property.

public:
 property System::String ^ Format { System::String ^ get(); void set(System::String ^ value); };
public string Format { get; set; }
member this.Format : string with get, set
Public Property Format As String

Property Value

A format string compatible with ToString(String). The default is "t" (short time pattern).

Remarks

Format string is the same is passed to DateTime.ToString (string format).

Applies to