Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
CrosshairBrush Property
See Also 
Leadtools.Windows.Controls Namespace > MagnifyGlass Class : CrosshairBrush Property





Gets or sets the brush of the crosshair. This is a dependency property.

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);
}
XAML Syntax 
For XAML information, see the Brush type.

Dependencies Property Information 

Identifier field

CrosshairBrushProperty

Metadata properties set to true

AffectsRender

XAML Syntax 
For XAML information, see the Brush type.

Dependencies Property Information 

Identifier field

CrosshairBrushProperty

Metadata properties set to true

AffectsRender

Return Value

The Crosshair brush.

Example

For XAML example, refer to Shape.

For C#/VB examples, refer to Shape.

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also