共用方式為


DataGrid.RowStyleSelector 屬性

定義

取得或設定列的樣式選擇器。

public:
 property System::Windows::Controls::StyleSelector ^ RowStyleSelector { System::Windows::Controls::StyleSelector ^ get(); void set(System::Windows::Controls::StyleSelector ^ value); };
public System.Windows.Controls.StyleSelector RowStyleSelector { get; set; }
member this.RowStyleSelector : System.Windows.Controls.StyleSelector with get, set
Public Property RowStyleSelector As StyleSelector

屬性值

StyleSelector

資料列的樣式選取器。 已註冊的預設值是 null。 如需哪些因素會影響值的詳細資訊,請參閱 DependencyProperty

備註

如果此屬性具有非 Null 值,則會覆寫 屬性的值 ItemContainerStyleSelector

適用於