Прочитај на енглеском Уреди

Делите путем


ViewBase.DefaultStyleKey Property

Definition

Gets the object that is associated with the style for the view mode.

C#
protected internal virtual object DefaultStyleKey { get; }

Property Value

The style to use for the view mode. The default value is the style for the ListBox.

Remarks

If this property is not overridden by a derived class, the style for the ListBox control is used as the default style.

Use this property to set the style for the ListView.

Applies to

Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10