Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarManager.GetPaintStyle Method

Returns the paint style of the current bar manager.

#Declaration

Delphi
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