Calendar.DisplayDateChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the DisplayDate property is changed.
public:
event EventHandler<System::Windows::Controls::CalendarDateChangedEventArgs ^> ^ DisplayDateChanged;
public event EventHandler<System.Windows.Controls.CalendarDateChangedEventArgs> DisplayDateChanged;
member this.DisplayDateChanged : EventHandler<System.Windows.Controls.CalendarDateChangedEventArgs>
Public Custom Event DisplayDateChanged As EventHandler(Of CalendarDateChangedEventArgs)
Public Event DisplayDateChanged As EventHandler(Of CalendarDateChangedEventArgs)
Event Type
Examples
The following event handler updates a TextBox with information from the DisplayDateChanged event. This example is part of a larger example available in the Calendar overview.
<Calendar Name="calendar1" Loaded="calendar1_Loaded"/>
Remarks
This event occurs after DisplayDate is assigned its new value.
XAML Attribute Usage
<Calendar DisplayDateChanged="eventhandler"/>
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา