Leadtools.Windows.Media.TransitionBase Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
TargetObject Property
See Also 
Leadtools.Windows.Media.Transitions Namespace > TransitionBase Class : TargetObject Property





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);
}
XAML Syntax 
For XAML information, see the Brush type.
XAML Attributes Usage 

<object TargetObject=System.Windows.FrameworkElement .../>

Dependencies Property Information 

Identifier field

TargetObjectProperty

Metadata properties set to true

None

XAML Syntax 
For XAML information, see the Brush type.
XAML Attributes Usage 

<object TargetObject=System.Windows.FrameworkElement .../>

Dependencies Property Information 

Identifier field

TargetObjectProperty

Metadata properties set to true

None

Return Value

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

Example

For an example, refer to Out.

Remarks

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

Requirements

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

See Also