Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / ImageFrame Class / Shadow Property
Example


In This Topic
    Shadow Property (ImageFrame)
    In This Topic
    Controls the shadow of the image frame.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("Controls the shadow of the image frame.")>
    Public Property Shadow As Shadow
    'Usage
     
    Dim instance As ImageFrame
    Dim value As Shadow
     
    instance.Shadow = value
     
    value = instance.Shadow
    [Category("Appearance")]
    [Description("Controls the shadow of the image frame.")]
    public Shadow Shadow {get; set;}
    Remarks
    Gives you access to the Shadow object controlling the shadow applied on the frame.
    Example
    The following code sets a gaussian shadow to the image frame:
    Dim imageFrame As ImageFrame =  ChartControl.Background.ImageFrame 
    imageFrame.Shadow.Type = ShadowType.GaussianBlur
    ImageFrame imageFrame = ChartControl.Background.ImageFrame;
    imageFrame.Shadow.Type = ShadowType.GaussianBlur;
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also