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

适用于