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



The TargetObject Property supports WPF/Silverlight.

Gets or set a framework element to apply a transition to it. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property TargetObject As FrameworkElement
Visual Basic (Usage)Copy Code
Dim instance As TransitionBase
Dim value As FrameworkElement
 
instance.TargetObject = value
 
value = instance.TargetObject
C# 
public FrameworkElement TargetObject {get; set;}
C++/CLI 
public:
property FrameworkElement^ TargetObject {
   FrameworkElement^ get();
   void set (    FrameworkElement^ value);
}

Property Value

The brush for the shadow for the frame that you add to the BitmapSourceViewer control.

Example

For an example, refer to OutBrush.

Remarks

No need to set this property if you want to apply a transition to a Leadtools.Windows.Controls.ImageViewer. When set the Leadtools.Windows.Controls.ImageViewer.Transition property the TargetObject will be set internally.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also