TimePicker.ClockIdentifier TimePicker.ClockIdentifier TimePicker.ClockIdentifier TimePicker.ClockIdentifier Property

Definition

Gets or sets the clock system to use.

public : Platform::String ClockIdentifier { get; set; }
winrt::hstring ClockIdentifier();

void ClockIdentifier(winrt::hstring clockidentifier);
public string ClockIdentifier { get; set; }
Public ReadWrite Property ClockIdentifier As string
<TimePicker ClockIdentifier="12HourClock"/>
-or-
<TimePicker ClockIdentifier="24HourClock"/>

Property Value

string string

The name of the clock system to use. See Remarks.

Remarks

The type of the property is String, but you must use values that correspond to the static string properties of Windows.Globalization.ClockIdentifiers. These are: TwelveHour (the string "12HourClock")and TwentyFourHour (the string "24HourClock"). "12HourClock" is the default value.

See also