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 > BitmapSourceViewerElement Class : FrameShadow Property





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

Syntax

Visual Basic (Declaration) 
Public Property FrameShadow As Size
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewerElement
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

AffectsMeasure, Inherits

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 BitmapSourceViewerElement control.

Example

For XAML example, refer to Source.

For C#/VB examples, refer to BitmapSourceViewerElement.

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