DataGridComboBoxColumn::ElementStyle Property

.NET Framework (current version)
 

Gets or sets the style that is used when rendering the element that the column displays for a cell that is not in editing mode.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property Style^ ElementStyle {
	Style^ get();
	void set(Style^ value);
}

Property Value

Type: System.Windows::Style^

The style that is used when rendering a display-only element. The registered default is null. For information about what can influence the value, see DependencyProperty.

You can reset the default ElementStyle by getting the DefaultElementStyle.

.NET Framework
Available since 4.0
Return to top
Show: