Edytuj

Udostępnij za pośrednictwem


DataGridComboBoxColumn.ElementStyle Property

Definition

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.

public:
 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.

Remarks

You can reset the default ElementStyle by getting the DefaultElementStyle.

Applies to