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



Gets or sets a value that indicates the size of the pan rectangle border. Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

The size of the pan rectangle border in pixels. Default value 1.0.

Example

For XAML example, refer to ImagePanViewer.

For C#/VB examples, refer to ImagePanViewer.

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.

Requirements

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

See Also