Class BooleanConverter<T>
Inheritance
Object
BooleanConverter<T>
Implements
IValueConverter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.Desktop.Platform.Controls.Converters
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public class BooleanConverter<T>
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 |
|---|---|---|
| Object | value | |
| Type | targetType | |
| Object | parameter | |
| CultureInfo | culture |
Returns
| Type | Description |
|---|---|
| Object |
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public virtual object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | value | |
| Type | targetType | |
| Object | parameter | |
| CultureInfo | culture |
Returns
| Type | Description |
|---|---|
| Object |
Implements
System.Windows.Data.IValueConverter