Skip to main content
A newer version of this page is available. .

TcxCustomEditButton.Stretchable Property

Specifies whether a button’s width is adjusted if the editor’s width is changed.

Declaration

property Stretchable: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

When the Stretchable property is set to True and the editor control’s width is about to change, the button’s width is adjusted in such a manner as to preserve the ratio of its width with the new editor’s width. If you set the Stretchable property to False, the button’s width is not modified in this way.

Note

This property is effective for editor controls which display buttons only, i.e. have their Properties.ViewStyle set to vsButtonsOnly or vsButtonsAutoWidth.

The default value of the Stretchable property is True.

See Also