Xceed Chart for WinForms v4.4 Documentation
StandardFrame Property (Background)
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > Background Class : StandardFrame Property
Gives access to the StandardFrame object controlling the standard background frame.
Syntax
'Declaration
 
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Xceed.Chart.Standard.ImageAndStandardFrameTypeEditor, Xceed.Chart.Standard.v4.4, Version=4.4.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")>
<DescriptionAttribute("Gives access to an object controlling the standard background frame.")>
<CategoryAttribute("Frame")>
Public Property StandardFrame As StandardFrame
'Usage
 
Dim instance As Background
Dim value As StandardFrame
 
instance.StandardFrame = value
 
value = instance.StandardFrame
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Xceed.Chart.Standard.ImageAndStandardFrameTypeEditor, Xceed.Chart.Standard.v4.4, Version=4.4.100.0, Culture=neutral, PublicKeyToken=ba83ff368b7563c6")]
[Description("Gives access to an object controlling the standard background frame.")]
[Category("Frame")]
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

Reference

Background Class
Background Members