Gets or sets the colour which is contrast to the accent colour.

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 inherit the value from the parent or use the value, which has been set for the entire application. The default value is null.

Remarks

Identifier fieldContrastBrushProperty
MetadataAffectsRender
If the parameter is inherithed from application, it's guaranteed that parameter's value will be updated when according value is updated for the application.

Examples

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

See Also