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



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

Syntax

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

Property Value

The crosshair type used in this magnify glass. Default value is MagnifyGlassCrosshair.Fine.

Example

For XAML example, refer to MagnifyGlass.

For C#/VB examples, refer to MagnifyGlass.

Remarks

Using the CrosshairThickness and CrosshairBrush properties depends on the value of this property.

Requirements

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

See Also