Skip to main content

TdxBarManager.Style Property

Specifies bar paint style.

Declaration

property Style: TdxBarManagerStyle read; write;

Property Value

Type
TdxBarManagerStyle

Remarks

Values include:

Value

Example

bmsStandard

bmsEnhanced

bmsFlat

bmsOffice11

bmsXP

bmsUseLookAndFeel

The applied paint style is specified by the LookAndFeel property of the bar manager or TcxLookAndFeelController component (if active). Using this component allows you to maintain the same look and feel settings across all controls on your form(s).

If the NativeStyle attribute of the LookAndFeel property is set to True, the currently applied XP theme is used. Otherwise, the paint style is specified by the Kind attribute. The list below shows the correspondence between Kind and painting styles applied:

  • lfFlatbmsEnhanced,

  • lfStandardbmsStandard,

  • lfOffice11bmsOffice11,

  • lfUltraFlatbmsFlat.

Note

If the bmsXP value is assigned to the Style property, bars use the currently applied XP theme to paint themselves. However, if the currently installed operating system is not Windows XP or the Windows Classic theme is currently applied, bars will be painted using the bmsEnhanced paint style.

See Also