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


In This Topic
    OuterStyle Property
    In This Topic
    Controls the outer style of the frame.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("Controls the outer style of the frame.")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property OuterStyle As FrameBevelStyle
    'Usage
     
    Dim instance As StandardFrame
    Dim value As FrameBevelStyle
     
    instance.OuterStyle = value
     
    value = instance.OuterStyle
    [Category("Appearance")]
    [Description("Controls the outer style of the frame.")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public FrameBevelStyle OuterStyle {get; set;}
    Remarks
    Can be None, Raised or Sunken. The outer bevel is rendered using the OuterLight and OuterDark colors of the StandardFrame object. Initially these colors are set to KnownColor.ControlLightLight and KnownColor.ControlDark respectively.
    Example
    The following example modifies the OuterStyle:
    somedFrame.OuterStyle = BevelStyle.Sunken
    somedFrame.InnerStyle = BevelStyle.Sunken
    somedFrame.BevelWidth = 1
    somedFrame.OuterStyle = BevelStyle.Sunken;
    somedFrame.InnerStyle = BevelStyle.Sunken;
    somedFrame.BevelWidth = 1;
    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