Visual Basic (Declaration) | |
---|---|
Public Property OuterBrush As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ImagePanViewer Dim value As Brush instance.OuterBrush = value value = instance.OuterBrush |
C# | |
---|---|
public Brush OuterBrush {get; set;} |
Property Value
The brush used to fill the area outside the pan rectangle. Default value is transparent 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