Nevron .NET Vision
Nevron.GraphicsCore Namespace / NBackplaneStyle Class / Shape Property
Example


In This Topic
    Shape Property (NBackplaneStyle)
    In This Topic
    Defines the style of the backplane.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Defines the style of the backplane.")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property Shape As BackplaneShape
    'Usage
     
    
    Dim instance As NBackplaneStyle
    Dim value As BackplaneShape
     
    instance.Shape = value
     
    value = instance.Shape
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Defines the style of the backplane.")]
    [System.Xml.Serialization.XmlAttribute()]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public BackplaneShape Shape {get; set;}
    Remarks
    The possible values are: Rectangle, Ellipse, Circle, CutEdgeRectangle and SmoothEdgeRectangle. In the case of CutEdgeRectangle and SmoothEdgeRectangle you can also control the percentage of the edge relative to the width or height of the backplane (whichever one is smaller).
    Example
    The following code snippet modifies the backplane style.
    Dim backplane As NBackplane =  SomeTextProps.Backplane 
    backplane.Style = BackplaneStyle.CutEdgeRectangle
    NBackplane backplane = SomeTextProps.Backplane;
    backplane.Style = BackplaneStyle.CutEdgeRectangle;
    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