←Select platform

Reverse Property (ImageViewer)

Summary

Gets or sets a value that indicates whether the image in the control will be flipped horizontally. This is a dependency property.

Syntax

C#
VB
C++
public bool Reverse {get; set;}
Public Property Reverse As Boolean
public: 
property bool Reverse { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

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

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.

Example

For XAML example, refer to Flip.

For C#/VB examples, refer to Flip.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Controls Assembly
Click or drag to resize