CustomDrawObjectEventArgs.Appearance Property
In This Article
Gets the painted element’s appearance settings.
Namespace: DevExpress.XtraNavBar.ViewInfo
Assembly: DevExpress.XtraNavBar.v24.2.dll
NuGet Package: DevExpress.Win
#Declaration
#Property Value
Type | Description |
---|---|
Appearance |
A Appearance |
#Remarks
The Appearance property can be used in a number of ways:
- By reading the Appearance property’s attributes so as to custom paint an element using the default settings. In this case, you should set the CustomDrawObjectEventArgs.Handled property to true to stop the default painting mechanism from painting over your custom paintings.
- Change specific attributes of the Appearance property and leave the CustomDrawObjectEventArgs.Handled property set to false. This forces the NavBar to paint the element using the default painting mechanism but with the modified appearance settings.
For more information on appearances, see the Appearances document.
See Also