Skip to main content
Table of Contents

TTMSFNCDataGridHeader.AutoSize Property

When True (default), the height is calculated from the visible content instead of Size.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGridHeader Inherited from: TTMSFNCDataGridHeaderFooter Type: Boolean

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
property AutoSize: Boolean;
__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=1};

Default: True

Remarks

For the header the height is the visual grouping zone height (when visible) plus Bar.Size (when the bar is visible); for the footer it is Paging.Size plus Bar.Size. With no visible content the area collapses to zero height.