Table of Contents

TAdvCustomInspector.DrawPropertyName Method

Draws the property name in inspector control, which correspondes to the left part of the inspector.

Syntax

Unit: InspectorControls

procedure TAdvCustomInspector.DrawPropertyName(TheCanvas: TCanvas; TheIndex: Integer; R: TRect); virtual;

Parameters

<-> Parameter Type Description
TheCanvas TCanvas Canvas object used to perform the drawing operation.
TheIndex Integer Index of the property to be drawn.
R TRect The rectangle in which the property value will be drawn. This value corresponds to the whole property area, including name, value, border. The Splitter property should be used to know at which position the name and value areas are separated.

See also