ItemsControl.DisplayMemberPath Properti

Definisi

Mendapatkan atau mengatur nama atau jalur properti yang ditampilkan untuk setiap item data.

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"/>

Nilai Properti

String

Platform::String

winrt::hstring

Nama atau jalur properti yang ditampilkan untuk setiap item data dalam kontrol. Defaultnya adalah string kosong ("").

Berlaku untuk