Show / Hide Table of Contents

Class ConnectionStatusToBrushConverter

Converter for device connection status to a brush.

Inheritance
System.Object
ConnectionStatusToBrushConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.DeviceManagement
Assembly: Phoenix.dll
Syntax
public class ConnectionStatusToBrushConverter : IValueConverter

Methods

View Source

Convert(Object, Type, Object, CultureInfo)

Converts a value to a brush.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object value

The value to convert.

System.Type targetType

The parameter is not used.

System.Object parameter

The parameter is not used.

System.Globalization.CultureInfo culture

The parameter is not used.

Returns
Type Description
System.Object

The brush.

View Source

ConvertBack(Object, Type, Object, CultureInfo)

Converts a brush back into the target type.

Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
System.Object value

The value to convert.

System.Type targetType

The parameter is not used.

System.Object parameter

The parameter is not used.

System.Globalization.CultureInfo culture

The parameter is not used.

Returns
Type Description
System.Object

The target type.

Implements

System.Windows.Data.IValueConverter
  • View Source
In This Article
Back to top Generated by DocFX