Volume Control
Application-specific hotkeys for Windows
|
Converts between bool and given Brush instances. More...
Public Member Functions | |
object | Convert (object value, Type targetType, object parameter, CultureInfo culture) |
object | ConvertBack (object value, Type targetType, object parameter, CultureInfo culture) |
Static Public Attributes | |
static readonly DependencyProperty | WhenTrueProperty = DependencyProperty.Register(nameof(WhenTrue), typeof(Brush), typeof(BoolToBrushConverter), new PropertyMetadata(new SolidColorBrush())) |
The Brush returned when the value is true . More... | |
static readonly DependencyProperty | WhenFalseProperty = DependencyProperty.Register(nameof(WhenFalse), typeof(Brush), typeof(BoolToBrushConverter), new PropertyMetadata(new SolidColorBrush())) |
The Brush returned when the value is false . More... | |
static readonly DependencyProperty | WhenNullProperty = DependencyProperty.Register(nameof(WhenNull), typeof(Brush), typeof(BoolToBrushConverter), new PropertyMetadata(new SolidColorBrush())) |
The Brush returned when the value is null . More... | |
Properties | |
Brush | WhenTrue [get, set] |
Gets or sets the Brush returned when the value is true . More... | |
Brush | WhenFalse [get, set] |
Gets or sets the Brush returned when the value is false . More... | |
Brush | WhenNull [get, set] |
Gets or sets the Brush returned when the value is null . More... | |
Converts between bool and given Brush instances.
|
static |
The Brush returned when the value is false
.
|
static |
The Brush returned when the value is null
.
|
static |
The Brush returned when the value is true
.
|
getset |
Gets or sets the Brush returned when the value is false
.
|
getset |
Gets or sets the Brush returned when the value is null
.
|
getset |
Gets or sets the Brush returned when the value is true
.