Class BooleanConverter<T>
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Desktop.Platform.Controls.Converters
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public class BooleanConverter<T> : IValueConverter
Type Parameters
Name | Description |
---|---|
T |
Constructors
BooleanConverter(T, T)
Declaration
public BooleanConverter(T trueValue, T falseValue)
Parameters
Type | Name | Description |
---|---|---|
T | trueValue | |
T | falseValue |
Properties
False
Declaration
public T False { get; set; }
Property Value
Type | Description |
---|---|
T |
True
Declaration
public T True { get; set; }
Property Value
Type | Description |
---|---|
T |
Methods
Convert(Object, Type, Object, CultureInfo)
Declaration
public virtual object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.Globalization.CultureInfo | culture |
Returns
Type | Description |
---|---|
System.Object |
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public virtual object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.Globalization.CultureInfo | culture |
Returns
Type | Description |
---|---|
System.Object |
Implements
System.Windows.Data.IValueConverter