Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Source Property
See Also 
Leadtools.Windows.Controls Namespace > MagnifyGlass Class : Source Property





Gets the BitmapSourceViewer currently assigned to the magnifying process by the control. This is a dependency property. This property is designed for future use.

Syntax

Visual Basic (Declaration) 
Public Property Source As Visual
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlass
Dim value As Visual
 
instance.Source = value
 
value = instance.Source
C# 
public Visual Source {get; set;}
C++/CLI 
public:
property Visual Source {
   Visual get();
   void set (Visual value);
}
XAML Attributes Usage 

<object Source=Size .../>

Dependencies Property Information 

Identifier field

SourceProperty

Metadata properties set to true

AffectsRender

XAML Values 

Binding A Binding to a Visual instance.

XAML Property Element Usage 

<object Visual={Binding}/> - or - <object Visual={ResourceExpression}/>

XAML Attributes Usage 

<object Source=Size .../>

Dependencies Property Information 

Identifier field

SourceProperty

Metadata properties set to true

AffectsRender

XAML Values 

Binding A Binding to a Visual instance.

XAML Property Element Usage 

<object Visual={Binding}/> - or - <object Visual={ResourceExpression}/>

Return Value

The BitmapSourceViewer object, which has an image to be magnified using the MagnifyGlass control.

Remarks

This property contains the BitmapSourceViewer object which contains an image to be magnified using the MagnifyGlass control. The type of this property is defined to be Visual and not BitmapSourceViewer, in order to have the MagnifyGlass work with any Visual object.

Requirements

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

See Also