Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ItemsControl.DisplayMemberPath 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 name or path of the property that is displayed for each data item.

public:
 property Platform::String ^ DisplayMemberPath { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DisplayMemberPath();

void DisplayMemberPath(winrt::hstring value);
public string DisplayMemberPath { get; set; }
var string = itemsControl.displayMemberPath;
itemsControl.displayMemberPath = string;
Public Property DisplayMemberPath As String
<itemsControl DisplayMemberPath="propertyPath"/>

Property Value

String

Platform::String

winrt::hstring

The name or path of the property that is displayed for each the data item in the control. The default is an empty string ("").

Applies to


Feedback

Was this page helpful?