TdxNavBarViewInfo.BgBackColor2 Method
Returns the ending background color of the control.
Declaration
function BgBackColor2: TColor; virtual;
Returns
Type |
---|
TColor |
Remarks
Call this function to obtain the ending background color applied to the control. This value is specified by the control’s background style. The style is set via the OptionsStyle.DefaultStyles.Background default style. These settings, in turn, can be overridden by assigning a custom style to the OptionsStyle.CustomStyles.Background property of the NavBar control. The BgBackColor2 function returns the BackColor2 property value of the style assigned.
The BgBackColor2 function can be used when handling the OnCustomDraw.Background event. It is useful if you don’t want to use custom colors of the control’s background.
See Also