Skip to content

CaptionMetrics Property

Description

The metrics used to draw the caption (left column) of the PropertyGridItemFont.

Property Type

Read-only property

Syntax (Visual Basic)

Public Property CaptionMetrics() As [PropertyGridItemMetrics](XtremePropertyGrid~PropertyGridItemMetrics.md)

Remarks

The PropertyGridItemFont object consists of two parts: the caption (left column) and the value (right column). Both the caption and the value of a PropertyGridItemFont have PropertyGridItemMetrics, which allows the forecolor, backcolor, and font to be set individually. Additionally, the caption and value can have an icon displayed by assigning an IconIndex of an icon stored in the Icons collection.

The PropertyGridItemMetrics of the caption of a PropertyGridItemFont can be set with the CaptionMetrics property.

The PropertyGridItemMetrics of the value of a PropertyGridItemFont can be set with the ValueMetrics property.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.