DataGridComboBoxColumn.ElementStyle 屬性

定義

取得或設定樣式,當呈現資料行針對不處於編輯模式之儲存格所顯示的項目時,會使用這個樣式。

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

屬性值

當呈現僅供顯示之項目時所使用的樣式。 已註冊的預設值是 null。 如需哪些因素會影響值的詳細資訊,請參閱 DependencyProperty

備註

您可以取得 DefaultElementStyle 來重設預設值 ElementStyle

適用於