ElementStyle Property

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 Style ElementStyle { get; set; }

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:
© 2016 Microsoft