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


In This Topic
    OuterBevelWidth Property (NStandardFrameStyle)
    In This Topic
    Controls the width of the inner and the outer bevels.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Size")>
    <System.ComponentModel.DescriptionAttribute("Controls the width of the inner and the outer bevels.")>
    Public Property OuterBevelWidth As NLength
    'Usage
     
    
    Dim instance As NStandardFrameStyle
    Dim value As NLength
     
    instance.OuterBevelWidth = value
     
    value = instance.OuterBevelWidth
    [System.ComponentModel.Category("Size")]
    [System.ComponentModel.Description("Controls the width of the inner and the outer bevels.")]
    public NLength OuterBevelWidth {get; set;}
    Remarks
    The default value is 1 pixel.
    Example
    The following example modifies the InnerStyle.
    somedFrame.OuterStyle = BevelStyle.Sunken
    somedFrame.InnerStyle = BevelStyle.Sunken
    somedFrame.BevelWidth = new NLength(1, NGraphicsUnit.Pixel)
    somedFrame.OuterStyle = BevelStyle.Sunken;
    somedFrame.InnerStyle = BevelStyle.Sunken;
    somedFrame.BevelWidth = new NLength(1, NGraphicsUnit.Pixel);
    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