Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.OnCanSizeColumn Event

Fired while a column is being resized by the user, allowing the application to constrain the new size.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
OnCanSizeColumn: TTMSFNCDataGridCanSizeColumnEvent;
__property TTMSFNCDataGridCanSizeColumnEvent OnCanSizeColumn = {read=FOnCanSizeColumn, write=FOnCanSizeColumn};

Parameters

Name Description
Sender Renderer that fired the event.
AColumn Zero-based column index being resized.
ASize New column width in pixels. Adjust this value to constrain the size.
ACanSize Set to False to prevent resizing the column.