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
The name or path of the property that is displayed for each the data item in the control. The default is an empty string ("").