Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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