TreeViewItemInvokedEventArgs Class
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.
Provides event data for the TreeView.ItemInvoked event.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItemInvokedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public ref class TreeViewItemInvokedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TreeViewItemInvokedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class TreeViewItemInvokedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TreeViewItemInvokedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class TreeViewItemInvokedEventArgs
Public NotInheritable Class TreeViewItemInvokedEventArgs
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
Properties
Handled |
Gets or sets a value that marks the routed event as handled. A true value for prevents most handlers along the event route from handling the same event again. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItemInvokedEventArgs.Handled (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
InvokedItem |
Gets the TreeView item that is invoked. Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewItemInvokedEventArgs.InvokedItem (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor