ElementStyle Property

DataGridBoundColumn.ElementStyle Property


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.

.NET Framework
Available since 4.0
Available since 2.0
Return to top
© 2015 Microsoft