Visual Basic (Declaration) | |
---|---|
Public Property Stroke As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ImagePanViewer Dim value As Brush instance.Stroke = value value = instance.Stroke |
C# | |
---|---|
public Brush Stroke {get; set;} |
Property Value
An System.Windows.Media.Brush object which is used to draw the pan rectangle. Default value is red System.Windows.Media.SolidColorBrush.For XAML example, refer to ImagePanViewer.
For C#/VB examples, refer to ImagePanViewer.
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.
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family