Ghost1372

everything can be handy

DateTimePicker

Event

Name
ConfirmClick
SelectedTimeChanged

Property

Name
IsGroupLabelVisible
IsTodayHighlighted
DisplayMode
FirstDayOfWeek
DayOfWeekFormat
CalendarIdentifier
IsOutOfScopeEnabled
MaxDate
MinDate
CalendarViewMargin
TimePickerMargin
CalendarViewStyle
CalendarViewBorderThickness
SelectedTime
SelectedDate
TimePickerDisplayMode
CalendarViewCornerRadius
PlaceholderText
Description
Header
HeaderTemplate
ConfirmButtonContent
ConfirmButtonStyle
ShowConfirmButton
ClockBorderThickness
ClockMargin
ShowAccentBorderOnHeader
ClockMode

You can use Default WinUI Styles (DefaultCalendarViewStyle) or your own syles for CalendarView, just use CalendarViewStyle property.

You can use your own styles for ConfirmButton, just use ConfirmButtonStyle property.

Example

1
<dev:DateTimePicker />

Use ClockMode for choosing between TimePicker or AnalogClock

Some Properties only works for TimePicker and Some for AnalogClock.

DevWinUI

Demo

you can run demo and see this feature.

0%