Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
FrameBackground Property
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewerElement Class : FrameBackground Property





Specifies the border brush of the frame that you add to the BitmapSourceViewerElement control. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property FrameBackground As Brush
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewerElement
Dim value As Brush
 
instance.FrameBackground = value
 
value = instance.FrameBackground
C# 
public Brush FrameBackground {get; set;}
C++/CLI 
public:
property Brush FrameBackground {
   Brush get();
   void set (Brush value);
}
XAML Syntax 
For XAML information, see the Brush type.

Dependencies Property Information 

Identifier field

FrameBackgroundProperty

Metadata properties set to true

AffectsRender, Inherits

XAML Syntax 
For XAML information, see the Brush type.

Dependencies Property Information 

Identifier field

FrameBackgroundProperty

Metadata properties set to true

AffectsRender, Inherits

Return Value

The brush for the border of the control's frame.

Example

For XAML example, refer to Source.

For C#/VB examples, refer to BitmapSourceViewerElement.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also