Click or drag to resize

OrientationSwitchTypeConverter class

Converter helper class for BinaryModificationSwitch. Converts OrientationSwitch to string and vice versa.
Inheritance hierarchy
SystemObject
  System.ComponentModelTypeConverter
    Vishnu.WPF_UI.DependencyPropertiesOrientationSwitchTypeConverter

Namespace: Vishnu.WPF_UI.DependencyProperties
Assembly: Vishnu.WPF_UI (in Vishnu.WPF_UI.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class OrientationSwitchTypeConverter : TypeConverter

The OrientationSwitchTypeConverter Type exposes the following members.

Constructors
 NameDescription of the
Public MethodOrientationSwitchTypeConverterinitializes a new instance of the OrientationSwitchTypeConverter class
Back to the top
Methods
 NameDescription of the
Public MethodCanConvertFrom Returns True if the passed sourceType could be converted (i.e. is of type string).
(Overwrites TypeConverterCanConvertFrom(ITypeDescriptorContext, Type))
Public MethodCanConvertTo Returns True if it could be converted to the transferred destinationType (i.e. the destinationType is of type string).
(Overwrites TypeConverterCanConvertTo(ITypeDescriptorContext, Type))
Public MethodConvertFrom Converts from string to OrientationSwitch.
(Overwrites TypeConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object))
Public MethodConvertTo Converts from OrientationSwitch to string.
(Overwrites TypeConverterConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type))
Public MethodGetStandardValues An optional collection of default values for the conversion.
(Overwrites TypeConverterGetStandardValues(ITypeDescriptorContext))
Public MethodGetStandardValuesSupported Returns True if default values are offered for the conversion.
(Overwrites TypeConverterGetStandardValuesSupported(ITypeDescriptorContext))
Back to the top
Remarks
File: BinaryModificationSwitch.cs Author: Erik Nagel 12.10.2014 Erik Nagel: created
See also