TreeViewItemInvokedEventArgs クラス

定義

TreeView.ItemInvoked イベントのイベント データを提供します。

public ref class TreeViewItemInvokedEventArgs sealed
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=6)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Version(1)]
class TreeViewItemInvokedEventArgs final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class TreeViewItemInvokedEventArgs final
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=6)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class TreeViewItemInvokedEventArgs
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public sealed class TreeViewItemInvokedEventArgs
Public NotInheritable Class TreeViewItemInvokedEventArgs
継承
Object Platform::Object IInspectable TreeViewItemInvokedEventArgs
属性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute MarshalingBehaviorAttribute VersionAttribute ContractVersionAttribute

ヒント

詳細、設計ガイダンス、およびコード例については、「 TreeView」を参照してください。

WinUI 3 ギャラリー アプリには、ほとんどの WinUI 3 コントロールと機能の対話型の例が含まれています。 Microsoft Store からアプリを入手するか、GitHub でソース コードを取得します。

プロパティ

Handled

ルーティング イベントを処理済みとしてマークする値を取得または設定します。 の true 値を指定すると、イベント ルートに沿ったほとんどのハンドラーが同じイベントを再び処理できなくなります。

InvokedItem

呼び出される TreeView 項目を取得します。

適用対象

こちらもご覧ください