[]
Converter used to convert bool values into opacity values. true = 1, false = 0.
public class OpacityConverter : IValueConverter
Name | Description |
---|---|
OpacityConverter() |
Name | Description |
---|---|
Convert(object, Type, object, string) | Modifies the source data before passing it to the target for display in the UI. |
ConvertBack(object, Type, object, string) | Modifies the target data before passing it to the source object. This method is called only in System.Windows.Data.BindingMode.TwoWay bindings. |