Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / Background Class / StandardFrame Property
Example


In This Topic
    StandardFrame Property (Background)
    In This Topic
    Gives access to the StandardFrame object controlling the standard background frame.
    Syntax
    'Declaration
     
    <CategoryAttribute("Frame")>
    <DescriptionAttribute("Gives access to an object controlling the standard background frame.")>
    <EditorAttribute(Xceed.Chart.Standard.ImageAndStandardFrameTypeEditor, System.Drawing.Design.UITypeEditor)>
    Public Property StandardFrame As StandardFrame
    'Usage
     
    Dim instance As Background
    Dim value As StandardFrame
     
    instance.StandardFrame = value
     
    value = instance.StandardFrame
    [Category("Frame")]
    [Description("Gives access to an object controlling the standard background frame.")]
    [Editor(Xceed.Chart.Standard.ImageAndStandardFrameTypeEditor, System.Drawing.Design.UITypeEditor)]
    public StandardFrame StandardFrame {get; set;}
    Remarks
    This type of frame resembles the standard Windows frames and can show all types of frames specified by the style of the window (raised, sunken, single etc). To activate the standard frame you have to set the FrameType property of the background to FrameType.Standard.
    Example
    The following code configures a Windows-like background frame with an inner and outer bevel.
    nChartControl1.Background.StandardFrame.OuterStyle = BevelStyle.Sunken
    nChartControl1.Background.StandardFrame.InnerStyle = BevelStyle.Sunken
    nChartControl1.Background.StandardFrame.BevelWidth = 1
    nChartControl1.Background.FrameType = FrameType.Standard
    nChartControl1.Background.StandardFrame.OuterStyle = BevelStyle.Sunken;
     nChartControl1.Background.StandardFrame.InnerStyle = BevelStyle.Sunken;
     nChartControl1.Background.StandardFrame.BevelWidth = 1;
     nChartControl1.Background.FrameType = FrameType.Standard;
    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