DataGridBoundColumn.ElementStyle Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Silverlight
Available since 2.0
Return to top
Show: