Skip to main content
Table of Contents

TTMSFNCDataGridAutoFillAppearance Class

Visual appearance settings for the AutoFill handle and preview overlay — controls the small drag handle in the bottom-right of the selection and the preview rectangle shown while auto-filling.

API unit family: TMSFNCDataGridRenderer Inherits from: TPersistent

Syntax

GeneratedPascalC++
TTMSFNCDataGridAutoFillAppearance = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridAutoFillAppearance : public System::Classes::TPersistent

Remarks

Only used when TTMSFNCDataGridSelectionOptions.AutoFill is True. Defaults: a solid steel blue 6 pixel handle and an unfilled preview rectangle with a 1.5 pixel dashed steel blue outline. Changes are picked up on the next repaint of the grid.

Properties

Name Description
HandleFill Fill of the AutoFill drag handle square. Default is solid steel blue.
HandleSize Size (width and height) of the AutoFill drag handle in pixels. Default is 6.
HandleStroke Stroke of the AutoFill drag handle square. Default is solid steel blue.
PreviewFill Fill applied to the AutoFill preview rectangle that shows which cells will be filled. Default is gfkNone (outline only).
PreviewStroke Stroke of the AutoFill preview rectangle. Default is a 1.5 pixel dashed steel blue line.

Events

Name Description
OnChange Fires when one of the AutoFill appearance settings (fill, stroke or handle size) changes.

Used by