CalendarViewDayItemChangingEventArgs 类

定义

提供 CalendarViewDayItemChanging 事件的数据。

public ref class CalendarViewDayItemChangingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CalendarViewDayItemChangingEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CalendarViewDayItemChangingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CalendarViewDayItemChangingEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CalendarViewDayItemChangingEventArgs
Public NotInheritable Class CalendarViewDayItemChangingEventArgs
继承
Object Platform::Object IInspectable CalendarViewDayItemChangingEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

InRecycleQueue

获取一个值,该值指示此容器是否位于 CalendarView 的回收队列中,并且未用于可视化日历项。

Item

获取与此容器关联的日历日项。

Phase

获取调用此容器和日项对的次数。

方法

RegisterUpdateCallback(TypedEventHandler<CalendarView,CalendarViewDayItemChangingEventArgs>)

注册要在下一阶段再次调用的事件处理程序。

RegisterUpdateCallback(UInt32, TypedEventHandler<CalendarView,CalendarViewDayItemChangingEventArgs>)

注册在指定阶段再次调用的事件处理程序。

适用于