Gets the painted element's appearance settings.
A AppearanceObject object which provides the painted element's appearance settings.
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.