TimePicker.VisibleMaskParts Property
Gets or sets a flagged enumeration value that specifies which time picker mask part is visible. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
TimePickerMaskPart | A flagged enumeration value that specifies which time picker mask part is visible. |
Available values:
Name | Description |
---|---|
Hours | The hours part of time value is visible. |
Minutes | The minutes part of time value is visible. |
Seconds | The seconds part of time value is visible. |
Remarks
Use the VisibleMaskParts property to specify which time parts and clock arrows (hours, minutes, seconds) are visible onscreen.
The code sample below demonstrates two time pickers:
- The first time picker displays hours, minutes, and seconds.
- The second time picker displays only hours and minutes.
<Window
...
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
<Grid>
<dxe:TimePicker VisibleMaskParts="Hours,Minutes,Seconds"/>
<dxe:TimePicker VisibleMaskParts="Hours,Minutes"/>
</Grid>
<Window>
See Also