CompositionObject.Comment CompositionObject.Comment CompositionObject.Comment CompositionObject.Comment Property

Definition

A string to associate with the CompositionObject.

public : Platform::String Comment { get; set; }
winrt::hstring Comment();

void Comment(winrt::hstring comment);
public string Comment { get; set; }
Public ReadWrite Property Comment As string

Property Value

string string

A string to associate with the CompositionObject. Note that for Visual Studio's Live Visual Tree debugging tool, the name displayed for a particular visual will be pulled from its Comment property

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)