Xceed Chart for WinForms v4.4 Documentation
BevelDistance Property
Example 


Xceed.Chart.Standard.v4.4 Assembly > Xceed.Chart.Standard Namespace > StandardFrame Class : BevelDistance Property
Controls the distance between the inner and the outer bevel.
Syntax
'Declaration
 
<CategoryAttribute("Size")>

<DefaultValueAttribute()>

<DescriptionAttribute("Controls the distance between the inner and the outer bevel.")>

Public Property BevelDistance As Integer
'Usage
 
Dim instance As StandardFrame

Dim value As Integer

 

instance.BevelDistance = value

 

value = instance.BevelDistance
[Category("Size")]

[DefaultValue()]

[Description("Controls the distance between the inner and the outer bevel.")]

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

Reference

StandardFrame Class
StandardFrame Members