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


In This Topic
    BevelDistance Property
    In This Topic
    Controls the distance between the inner and the outer bevel.
    Syntax
    'Declaration
     
    <CategoryAttribute("Size")>
    <DescriptionAttribute("Controls the distance between the inner and the outer bevel.")>
    <DefaultValueAttribute(0)>
    Public Property BevelDistance As Integer
    'Usage
     
    Dim instance As StandardFrame
    Dim value As Integer
     
    instance.BevelDistance = value
     
    value = instance.BevelDistance
    [Category("Size")]
    [Description("Controls the distance between the inner and the outer bevel.")]
    [DefaultValue(0)]
    public int BevelDistance {get; set;}
    Remarks
    The default value is 0.
    Example
    The following example modifies the Bevel distance.
    somedFrame.OuterStyle = BevelStyle.Sunken
    somedFrame.InnerStyle = BevelStyle.Sunken
    somedFrame.BevelWidth = 1
    somedFrame.BevelDistance = 3 ' increase the bevel distance
    somedFrame.OuterStyle = BevelStyle.Sunken;
    somedFrame.InnerStyle = BevelStyle.Sunken;
    somedFrame.BevelWidth = 1;
    somedFrame.BevelDistance = 3; // increase the bevel distance
    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