Gets or sets the brush which is used for filling the command buttons (such classes, which are inherited from the class CommandButtonBase.

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

Syntax

C#
See GetMask, SetMask
Visual Basic
See GetMask, SetMask

Property Value

Type: SolidColorBrush
A brush, used for filling the command buttons. The default value is null.

Remarks

This property is set at the theme of the control locally and usually has the value, which is equal to the value of the resource MiddleLightBrush.

Examples

C# Copy imageCopy
1var control = new CommandButton();
2var currentValue = Parameters.CommandButtons.GetMask(control);
3Parameters.CommandButtons.SetMask(control, Brushes.Black);
XAML Copy imageCopy
1<CommandButton params:CommandButtons.Mask="Black"/>

See Also