Skip to main content

TdxBarManager.GetPaintStyle Method

Returns the paint style of the current bar manager.

Declaration

function GetPaintStyle: TdxBarManagerStyle;

Returns

Type
TdxBarManagerStyle

Remarks

Use the GetPaintStyle function to determine the paint style of the current bar manager. This function returns the value of the Style property except for when its value is bmsUseLookAndFeel. In this instance if the LookAndFeel.NativeStyle property is set to True, the bmsXP value is returned, otherwise the value corresponding to the LookAndFeel.Kind or LookAndFeel.SkinName property is returned. Refer to the Style property to see the differences between the possible paint styles.

If the currently installed operating system is not Windows XP or XP theme is not available, use the GetRealPaintStyle function.

See Also