ViewBase.DefaultStyleKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.