Visual Basic (Declaration) | |
---|---|
Public Class RotateTransition Inherits TransitionBase |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class RotateTransition : TransitionBase |
C++/CLI | |
---|---|
public ref class RotateTransition : public TransitionBase |
XAML Object Element Usage | |
---|---|
<RotateTransition .../> |
XAML Object Element Usage | |
---|---|
<RotateTransition .../> |
This example will create a RotateTransition and apply it to a BitmapSourceViewer control.
Visual Basic | Copy Code |
---|---|
Public Sub RotateTransition_RotateTransition(ByVal viewer As BitmapSourceViewer) |
C# | Copy Code |
---|---|
public void RotateTransition_RotateTransition(BitmapSourceViewer viewer) |
XAML | Copy Code |
---|---|
<Window x:Class="WPFSamples.Rotate Transition" Title="ImagePanViewer" Height="600" Width="800" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Leadtools_Windows_Controls="clr-namespace:Leadtools.Windows.Controls;assembly=Leadtools.Windows.Controls" xmlns:Leadtools_Windows_Media_Transitions="clr-namespace:Leadtools.Windows.Media.Transitions;assembly=Leadtools.Windows.Media.Transitions"> |
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
System.Windows.Media.Animation.Animatable
Leadtools.Windows.Media.Transitions.TransitionBase
Leadtools.Windows.Media.Transitions.RotateTransition
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family