TdxNavBarGroupViewInfo.CaptionAlphaBlend2 Method
Returns the ending alpha blending component of the group header’s background color.
Declaration
function CaptionAlphaBlend2: Byte; virtual;
Returns
Type |
---|
Byte |
Remarks
Use the CaptionAlphaBlend2 function to obtain the ending alpha blending value of the group header’s background. This value is specified by the style applied to the group. Group header’s background style can be specified for all groups via the OptionsStyle.DefaultStyles.GroupHeader, OptionsStyle.DefaultStyles.GroupHeaderActive, OptionsStyle.DefaultStyles.GroupHeaderHotTracked and OptionsStyle.DefaultStyles.GroupHeaderPressed default styles. Individual groups can override these settings by assigning a custom style to the CustomStyles.Header, CustomStyles.HeaderActive, CustomStyles.HeaderHotTracked and CustomStyles.HeaderPressed properties of the group. The CaptionAlphaBlend2 function returns the AlphaBlending2 property value of the style assigned.
The CaptionAlphaBlend2 function can be used when handling the OnCustomDraw.GroupCaption event. It is useful if you don’t want to use custom alpha components of colors.