Nevron .NET Vision
Nevron.GraphicsCore Namespace / NImageFrameStyle Class / ShadowStyle Property
Example


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