TdxNavBarViewInfo.BgImage Method
Returns the control’s background image.
Declaration
function BgImage: TPicture; virtual;
Returns
Type |
---|
TPicture |
Remarks
Call this function to obtain the image used to fill the background of 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 BgImage function returns the Image property value of the style assigned.
The BgImage function can be used when handling the OnCustomDraw.Background event. It is useful if you don’t want to use custom image to fill the background.
See Also