Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.OnGetCellLayoutHasPriority Event

Fired for a cell that has a cell-level layout (see Layouts) to decide whether that layout fully replaces the state layout.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
OnGetCellLayoutHasPriority: TTMSFNCDataGridGetCellLayoutHasPriorityEvent;
__property TTMSFNCDataGridGetCellLayoutHasPriorityEvent OnGetCellLayoutHasPriority = {read=FOnGetCellLayoutHasPriority, write=FOnGetCellLayoutHasPriority};

Parameters

Name Description
Sender Renderer that fired the event.
ACell Cell coordinate being queried.
AHasPriority True replaces the state layout completely with the cell-level layout. False (the default for banded, selected, focused, fixed, group, summary and filter-highlighted states) keeps the state layout's fill and stroke and only applies the cell layout's font, sides, text alignment, angle, wrapping, trimming and text margins. For plain normal cells it is True by default.