Gets or sets the colour which is contrast to the accent colour in design-time mode.

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

Syntax

C#
See GetContrastBrush, SetContrastBrush
Visual Basic
See GetContrastBrush, SetContrastBrush

Property Value

Type: SolidColorBrush
The brush that contains the contrast colour, or null, if the control has to use the value, which has been set for the entire application. The default value is null.

Remarks

Identifier fieldContrastBrushProperty
MetadataAffectsRender

Examples

C# Copy imageCopy
1var control = new TabControl();
2var currentValue = Parameters.Design.GetContrastBrush(control);
3Parameters.Design.SetContrastBrush(control, null);
XAML Copy imageCopy
1<TabControl params:Design.ContrastBrush="White"/>

See Also