Gets or sets the default value of padding.

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

Syntax

C#
See GetDefaultPadding, SetDefaultPadding
Visual Basic
See GetDefaultPadding, SetDefaultPadding

Property Value

Type: Thickness
Default value of the padding. The default value is 1px.

Remarks

Examples

C# Copy imageCopy
1var control = new Button();
2var currentValue = Parameters.GetDefaultPadding(control);
3Parameters.SetDefaultPadding(control, new Thickness(1d));
XAML Copy imageCopy
1<Button params:General.DefaultPadding="1"/>

See Also