Gets or sets the width of the button in the control ComboBox.

Namespace: Elysium.Parameters
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
See GetButtonSize, SetButtonSize
Visual Basic
See GetButtonSize, SetButtonSize

Property Value

Type: Double
The width of the button in the control ComboBox. The default value is 18px.

Remarks

Identifier fieldButtonSizeProperty
MetadataAffectsMeasure
The value of this property is used only when the control ComboBox is declared as "editable". Otherwise, the value is ignored and the button is stretched for the whole width of the control.

Examples

C# Copy imageCopy
1var control = new ComboBox();
2var currentValue = Parameters.ComboBox.GetButtonSize(control);
3Parameters.ComboBox.SetButtonSize(control, 18d);
XAML Copy imageCopy
1<ComboBox params:ComboBox.ButtonSize="18px"/>

See Also