Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.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;}
C++/CLI 
public:
property Size FrameShadow {
   Size get();
   void set (Size value);
}
XAML Attributes Usage 

<object FrameShadow=Size .../>

Dependencies Property Information 

Identifier field

FrameShadowProperty

Metadata properties set to true

AffectsMeasure, Inherits

XAML Property Element Usage 

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

XAML Attributes Usage 

<object FrameShadow=Size .../>

Dependencies 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