Gets or sets the brush to be used to fill the area located outside the pan viewer rectangle.
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;} |
| Managed Extensions for C++ | |
|---|
public: __property Brush get_OuterBrush();
public: __property void set_OuterBrush(
Brush value
); |
| XAML | |
|---|
| For XAML information, see the Brush type. |
| Dependency Property Information | |
|---|
Identifier field | OuterBrushProperty |
Metadata properties set to true | AffectsRender |
Return Value
Any brush to be used to fill the pan viewer rectangle. The default is Brushes.Transparent.
Example
For XAML example, refer to Source.
For C#/VB examples, refer to Source.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
See Also