TreeViewNode.Content Property
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.
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
The data content for the current node.