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.

 property System::Windows::Style ^ ElementStyle { System::Windows::Style ^ get(); void set(System::Windows::Style ^ value); };
public System.Windows.Style ElementStyle { get; set; }
member this.ElementStyle : System.Windows.Style with get, set
Public Property ElementStyle As Style

Property Value


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.

Applies to