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



Gets or sets the background used to fill the interior of this magnify glass. This is a dependency property. Supported in Silverlight, Windows Phone 7

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);
}

Property Value

A System.Windows.Media.Brush that will be used to fill the interior of the magnify glass. Default value is a white System.Windows.Media.SolidColorBrush.

Example

For XAML example, refer to MagnifyGlass.

For C#/VB examples, refer to MagnifyGlass.

Remarks

The background brush will be used to fill areas that falls ourside the boundary of the image around the edges.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also