←Select platform

Stroke Property

Summary

Gets or sets brush used to draw the pan rectangle.

Syntax

C#
VB
C++
public Brush Stroke { get; set; } 
  
Public Property Stroke As Brush 
public: 
property Brush^ Stroke { 
   Brush^ get(); 
   void set (    Brush^ ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly