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





Gets or sets the Background Brush of the Magnifying Glass. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property Background As Brush
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlass
Dim value As Brush
 
instance.Background = value
 
value = instance.Background
C# 
public Brush Background {get; set;}
C++/CLI 
public:
property Brush Background {
   Brush get();
   void set (Brush value);
}
XAML Syntax 
For XAML information, see the Brush type.

Dependencies Property Information 

Identifier field

BackgroundProperty

Metadata properties set to true

AffectsRender

XAML Syntax 
For XAML information, see the Brush type.

Dependencies Property Information 

Identifier field

BackgroundProperty

Metadata properties set to true

AffectsRender

Return Value

The Background Brush of the Magnifying Glass border.

Example

For XAML example, refer to Shape.

For C#/VB examples, refer to Shape.

Remarks

The color to use for painting areas not covered by the zoomed image(that is, when the magnifying glass is not completely over the image.)

Requirements

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

See Also