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



Gets or sets the shape of the magnify glass. This is a dependency property. Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

An MagnifyGlassShape enumeration member that specifies the shape of the magnify glass. Default value is MagnifyGlassShape.RoundRectangle.

Example

For XAML example, refer to MagnifyGlass.

For C#/VB examples, refer to MagnifyGlass.

Remarks

In WPF Express, default is rectangle.

Requirements

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

See Also