Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / ImageFrame Class / Border Property
Example


In This Topic
    Border Property (ImageFrame)
    In This Topic
    Controls the border of the image frame.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("Controls the border of the image frame.")>
    Public Property Border As LineProperties
    'Usage
     
    Dim instance As ImageFrame
    Dim value As LineProperties
     
    instance.Border = value
     
    value = instance.Border
    [Category("Appearance")]
    [Description("Controls the border of the image frame.")]
    public LineProperties Border {get; set;}
    Remarks
    Gives you access to the FillEffect object controlling the fill effect applied on the frame.
    Example
    The following code disables the border of the frame:
    Dim imageFrame As ImageFrame =  ChartControl.Background.ImageFrame 
    imageFrame.Border.Width = 0
    ImageFrame imageFrame = ChartControl.Background.ImageFrame;
    imageFrame.Border.Width = 0;
    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