LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Reverse Property
See Also 
Leadtools.Windows.Controls Namespace > ImageViewer Class : Reverse Property



Gets or sets a value that indicates whether the image in the control will be flipped horizontally. This is a dependency property. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Property Reverse As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim value As Boolean
 
instance.Reverse = value
 
value = instance.Reverse
C# 
public bool Reverse {get; set;}
C++/CLI 
public:
property bool Reverse {
   bool get();
   void set (    bool value);
}

Property Value

true for the control to flip the image it is viewing horizontally; otherwise, false. Default value is false.

Example

For XAML example, refer to Flip.

For C#/VB examples, refer to Flip.

Remarks

This controls supports the following effect properties that can be applied to the image being drawn:

  • Flip: flips the image vertically

  • Reverse: flips the image horizontally

  • RotateAngle: rotates the image by a specified angle

As well as the properties specified above, the controls supports the standard WPF/Silverlight System.Windows.UIElement.BitmapEffect to apply pixel shader effects to the image and the Transition property to apply animation.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also