Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SurfaceSeriesBase Class / PaletteFrame Property
Example


In This Topic
    PaletteFrame Property
    In This Topic
    When set to true the frame is displayed with the current palette colors (automatic or manual). When set to false the frame is displayed with the line properties accessible with the FrameLine property.
    Syntax
    'Declaration
     
    <CategoryAttribute("Appearance")>
    <DescriptionAttribute("When set to true the frame is displayed with the current palette colors.")>
    <DefaultValueAttribute(False)>
    Public Property PaletteFrame As Boolean
    'Usage
     
    Dim instance As SurfaceSeriesBase
    Dim value As Boolean
     
    instance.PaletteFrame = value
     
    value = instance.PaletteFrame
    [Category("Appearance")]
    [Description("When set to true the frame is displayed with the current palette colors.")]
    [DefaultValue(false)]
    public bool PaletteFrame {get; set;}
    Example
    The following code enables the palette frame coloring:
    surface.PaletteFrame = True
    surface.PaletteFrame = true;
    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