Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
FrameShadow Property
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewer Class : FrameShadow Property





Specifies the thickness of the shadow for the frame that you add to the BitmapSourceViewer control. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property FrameShadow As Size
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewer
Dim value As Size
 
instance.FrameShadow = value
 
value = instance.FrameShadow
C# 
public Size FrameShadow {get; set;}
Managed Extensions for C++ 
public: __property Size get_FrameShadow();
public: __property void set_FrameShadow( 
   Size value
);
C++/CLI 
public:
property Size FrameShadow {
   Size get();
   void set (Size value);
}
XAML Attributes Usage 

<object FrameShadow=Size .../>

Dependency Property Information 

Identifier field

FrameShadowProperty

Metadata properties set to true

None

XAML Property Element Usage 

<object> <object.FrameShadow> <Size .../> </object.FrameShadow> </object>

Return Value

The size of the shadow for the frame that you add to the BitmapSourceViewer control.

Example

For XAML example, refer to BitmapSourceViewer.

For C#/VB examples, refer to BitmapSourceViewer.

Remarks

Set to 0 to disable the frame's shadow.

Requirements

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

See Also