TreeViewNode.Content Property

Definition

Gets or sets the data content for the current node.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewNode.Content (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property Platform::Object ^ Content { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable Content();

void Content(IInspectable value);
public object Content { get; set; }
var object = treeViewNode.content;
treeViewNode.content = object;
Public Property Content As Object

Property Value

Object

IInspectable

The data content for the current node.

Applies to