Redigera

Dela via


ViewBase.DefaultStyleKey Property

Definition

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

protected public:
 virtual property System::Object ^ DefaultStyleKey { System::Object ^ get(); };
protected internal virtual object DefaultStyleKey { get; }
member this.DefaultStyleKey : obj
Protected Friend Overridable ReadOnly Property DefaultStyleKey As Object

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