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



Gets or sets a value indicating whether to draw the crosshairs of this magnify glass. This is a dependency property. Supported in Silverlight

Syntax

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

Property Value

Any value other than 0.0 to draw the crosshairs of this magnify glass, otherwise; 0.0. Default value is 1.0.

Example

For XAML example, refer to MagnifyGlassEffect.

For C#/VB examples, refer to MagnifyGlassEffect.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also