Gets or sets the margin of the arrow from the sides of the button in the ComboBox control.

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

Syntax

C#
See GetArrowMargin, SetArrowMargin
Visual Basic
See GetArrowMargin, SetArrowMargin

Property Value

Type: Thickness
the margin of the arrow from the sides of the button in the ComboBox control. The default value is (5,0,5,0).

Remarks

Identifier fieldArrowMarginProperty
MetadataAffectsMeasure
In the default style only the value of the right margin is used, all other values are ignored. Nevertheless, you can use the values of the other margins when you redefine the style.

Examples

C# Copy imageCopy
1var control = new ComboBox();
2var currentValue = Parameters.ComboBox.GetArrowMargin(control);
3Parameters.ComboBox.SetArrowMargin(control, new Thickness(5d, 0d, 5d, 0d));
XAML Copy imageCopy
1<ComboBox params:ComboBox.ArrowMargin="5,0,5,0"/>

See Also