Copyright © 2003-2010 MultiMedia Soft

SplitButtonSizePerc property

Previous pageReturn to chapter overviewNext page


[Visual Basic]

Overrides Public Property SplitButtonSizePerc As Integer



public override short SplitButtonSizePerc {get; set;}



public: __property short get_SplitButtonSizePerc();

public: __property void set_SplitButtonSizePerc(short);




The size of the split button, expressed in percentage, respect to the total size of the button.. Can assume a value in the range from 20 to 50.

Below you can see two split buttons, the left one having the SplitButtonSizePerc property set to 20 and the right one having the same property set to 50.

3dcm_i0001b3             3dcm_i0001b4

It's important to note that, while the arrow is automatically repositioned in order to gain the center of the split, the caption text is not automatically repositioned and, in the case above, needed a manual horizontal repositioning through its TextDescriptor.OffsetX property.

This property is only available with the Ctl3dSplitButton component.

For further details about the use of the Split Button control, see the How to use the Split Button component section.