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

TcxGridCardViewStyles.GetCardBorderVisualParams(TcxCustomGridRecord,TcxViewParams) Method

Gets the TcxViewParams record containing information on the border’s style attributes when the card is focused.

#Declaration

Delphi
procedure GetCardBorderVisualParams(ARecord: TcxCustomGridRecord; out AParams: TcxViewParams); virtual;

#Parameters

Name Type
ARecord TcxCustomGridRecord
AParams TcxViewParams

#Remarks

The GetCardBorderVisualParams method obtains the style of the focus rectangle if it’s drawn. The focus rectangle is shown if the card is currently selected and the View’s OptionsSelection.CardBorderSelection property is set to True.

Otherwise, the style of the card border (specified by the CardBorder property, or by the OnGetCardBorderStyle event handler if implemented) will be obtained.

The ARecord parameter specifies the record that the currently processed row corresponds to;

The AParams parameter specifies style attributes that the method results in.

See Also