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



Gets or sets the brush used to fill the area outside the pan rectangle. Supported in Silverlight, Windows Phone 7

Syntax

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;}
C++/CLI 
public:
property Brush^ OuterBrush {
   Brush^ get();
   void set (    Brush^ value);
}

Property Value

The brush used to fill the area outside the pan rectangle. Default value is transparent System.Windows.Media.SolidColorBrush.

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