TdxNavBarLinkViewInfo.FontColor Method
Returns the font used to paint the link caption.
Declaration
function FontColor: TColor; virtual;
Returns
Type |
---|
TColor |
Remarks
Use the FontColor function to obtain the font color of the link. This value is specified by the style applied to the corresponding item. Item style can be specified for all items within the control via the OptionsStyle.DefaultStyles.Item, OptionsStyle.DefaultStyles.ItemDisabled, OptionsStyle.DefaultStyles.ItemHotTracked and OptionsStyle.DefaultStyles.ItemPressed default styles. Individual items can override these settings by assigning a custom style to the CustomStyles.Item, CustomStyles.ItemDisabled, CustomStyles.ItemHotTracked and CustomStyles.ItemPressed properties of the item. The FontColor function returns the color specified by the Font property value of the style assigned.
The FontColor function can be used when handling the OnCustomDraw.Link event. This is useful if you don’t want to use custom font color to paint the link caption.