Contains default style settings for bars and their elements.
public class BarManagerAppearances : IDisposable, IAppearanceOwner
Public Class BarManagerAppearances Implements IDisposable, IAppearanceOwner
Related API Members
The following members accept/return BarManagerAppearances objects:
The BarManagerAppearances class contains appearance properties that control the default style settings of bars and their elements. These settings can be accessed via the BarAndDockingController.AppearancesBar object.
The following appearance properties are available:
BarManagerAppearances.Bar provides default style settings for bars.
For main menus and status bars, you can provide style settings via the BarManagerAppearances.MainMenu and BarManagerAppearances.StatusBar properties. These properties, if used, will override the BarManagerAppearances.Bar object’s settings.
- BarManagerAppearances.Dock allows you to customize dock controls (containers used for displaying the bars docked to one of the form’s edges)
BarManagerAppearances.ItemsFont allows you to set default font settings for all items.
The other properties exposed by the BarManagerAppearances object give you the ability to specify fonts for bars, dock controls, and menus independently. These properties, if used, will override the default settings.
- BarManagerAppearances.MainMenu allows you to customize styles for main menus, i.e. menus assigned to the BarManager.MainMenu properties of BarManagers
- BarManagerAppearances.SubMenu allows you to customize submenus
- BarManagerAppearances.StatusBar provides style properties for controlling the appearance of status bars
Each bar, dock control and submenu also provides specific properties to customize their appearance. These properties, if assigned, will override the style settings of the BarAndDockingController. For instance, the Bar.Appearance settings allow you to override the BarManagerAppearances.Bar property, etc.
See Appearance and Look and Feel to learn more.