Click or drag to resize

OrientationModifier class

ValueConverter, converts an orientation (Horizontal, Vertical) depending on an additional switch of type OrientationSwitch: Unchanged=unchanged, Switched=reversed, Horizontal=horizontal, Vertical=vertical.
Inheritance hierarchy
SystemObject
  Vishnu.WPF_UI.ValueConverterOrientationModifier

Namespace: Vishnu.WPF_UI.ValueConverter
Assembly: Vishnu.WPF_UI (in Vishnu.WPF_UI.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class OrientationModifier : IMultiValueConverter

The OrientationModifier Type exposes the following members.

Constructors
 NameDescription of the
Public MethodOrientationModifierinitializes a new instance of the OrientationModifier class
Back to the top
Methods
 NameDescription of the
Public MethodConvert Converts an orientation (Horizontal, Vertical) depending on an additional switch of type OrientationSwitch: Unchanged=unchanged, Switched=reversed, Horizontal=horizontal, Vertical=vertical.
Public MethodConvertBack Converts ExpandDirection to Orientation.
Back to the top
Remarks
File: OrientationModifier.cs Author: Erik Nagel 05.10.2014 Erik Nagel: created 23.07.2022 Erik Nagel: A defined value (Horizontal) is now returned in DesignMode. Visual Studio 2022 previously showed the error "XDG0062 The specified conversion is invalid." on the owning DataTemplate.
See also