Skip to main content

TcxHotZoneStyle.SizePercent Property

Specifies the fraction of the splitter’s area occupied by the hot zone.

Declaration

property SizePercent: TcxNaturalNumber read; write; default 30;

Property Value

Type Default
TcxNaturalNumber 30

Remarks

Use the SizePercent property to change the size of the hot zone. It specifies the fraction of the splitter’s size occupied by the hot zone as a percentage. Thus, if you need a hot zone to occupy the whole splitter, set the SizePercent property to 100.

The table below provides examples of setting the SizePercent property to different values.

Property’s Value Meaning Effect
30 The hot zone occupies 30% of the splitter’s area.
50 The hot zone occupies the half of the splitter’s area.
100 The hot zone occupies the entire splitter.

TcxHotZoneStyle descendants can publish the SizePercent property. However, you may want to create a custom hot zone with a fixed size, in which case you would leave the SizePercent property protected.

The default value of the SizePercent property is 30.

See Also