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



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

Syntax

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

Property Value

The brush used to draw the crosshair of this magnify glass. Default value is a black System.Windows.Media.SolidColorBrush.

Example

For XAML example, refer to MagnifyGlass.

For C#/VB examples, refer to MagnifyGlass.

Remarks

This property value is used only if Crosshair property was set to MagnifyGlassCrosshair.Fine.

Requirements

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

See Also