Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi:
What is the property that need to bind DisplayMode of Calender?
<Calendar x:Name="StarCalender" SelectedDate="{Binding StartDateTime}" Background="Beige" DisplayDate="{Binding DispDate}" DisplayMode="{Binding StartModeChange}" >
</Calendar>
private ?? _startModeChange;
public ?? StartModeChange
{
........
}
thanks
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
It would need to be CalendarMode it is an enum
https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.calendarmode?view=net-5.0
FIELDS
Decade 2
The Calendar displays a decade at a time.
Month 0
The Calendar displays a month at a time.
Year 1
The Calendar displays a year at a time.