ContainerContentChangingEventArgs 類別

定義

提供 ContainerContentChanging 事件的數據。

public ref class ContainerContentChangingEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ContainerContentChangingEventArgs final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ContainerContentChangingEventArgs
Public NotInheritable Class ContainerContentChangingEventArgs
繼承
Object Platform::Object IInspectable ContainerContentChangingEventArgs
屬性

建構函式

ContainerContentChangingEventArgs()

初始化 ContainerContentChangingEventArgs 類別的新實例。

屬性

Handled

取得或設定值,這個值會將路由事件標示為已處理。 Handled 的 true 值可防止事件路由中的大部分處理程式再次處理相同的事件。

InRecycleQueue

取得值,這個值表示這個容器是否在 ListViewBase 的回收佇列中,而且不會用來可視化數據項。

Item

取得與此容器相關聯的數據項。

ItemContainer

取得用來顯示目前數據項的UI容器。

ItemIndex

取得與這個容器相關聯之數據項 之 ItemsSource 中的索引。

Phase

取得呼叫這個容器和數據項組的次數。

方法

RegisterUpdateCallback(TypedEventHandler<ListViewBase,ContainerContentChangingEventArgs>)

在下一個階段註冊要再次呼叫的事件處理程式。

RegisterUpdateCallback(UInt32, TypedEventHandler<ListViewBase,ContainerContentChangingEventArgs>)

註冊在指定階段期間再次呼叫的事件處理程式。

適用於

另請參閱