Nevron .NET Vision
Nevron.GraphicsCore Namespace / NStandardFrameStyle Class / OuterBevelStyle Property
Example


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