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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.