LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

Stroke Property






Gets or sets brush used to draw the pan rectangle. .NET support Silverlight support
Syntax
public Brush Stroke {get; set;}
'Declaration
 
Public Property Stroke As Brush
'Usage
 
Dim instance As ImagePanViewer
Dim value As Brush
 
instance.Stroke = value
 
value = instance.Stroke
public Brush Stroke {get; set;}
 get_Stroke();
set_Stroke(value);
public:
property Brush^ Stroke {
   Brush^ get();
   void set (    Brush^ value);
}

Property Value

An System.Windows.Media.Brush object which is used to draw the pan rectangle. Default value is red System.Windows.Media.SolidColorBrush.
Remarks

The control draws the pan rectangle using the Stroke as its color, StrokeThickness as the size of the rectangle border in pixels. You can fill the area inside the pan rectangle with InnerBrush and the area outside the pan rectangle with OuterBrush.

Example

For XAML example, refer to ImagePanViewer.

For C#/VB examples, refer to ImagePanViewer.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImagePanViewer Class
ImagePanViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.