Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.v4.4 Assembly / Xceed.Chart Namespace / ChartGridControl Class / ChartGridButtonsMask Property
Example


In This Topic
    ChartGridButtonsMask Property
    In This Topic
    A bitmask controlling the displayed toolbar buttons
    Syntax
    'Declaration
     
    <CategoryAttribute("Xceed ChartGrid")>
    <DescriptionAttribute("Controls the displayed buttons")>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
    Public Property ChartGridButtonsMask As ChartGridButtonsMask
    'Usage
     
    Dim instance As ChartGridControl
    Dim value As ChartGridButtonsMask
     
    instance.ChartGridButtonsMask = value
     
    value = instance.ChartGridButtonsMask
    [Category("Xceed ChartGrid")]
    [Description("Controls the displayed buttons")]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
    public ChartGridButtonsMask ChartGridButtonsMask {get; set;}
    Remarks
    A combination of the ChartGridButtonsMask enum fields is possible.
    Example
    The following example instructs the grid to have only SelectChart and SelectSeries buttons
    ChartGrid1.ChartGridButtonsMask = ChartGridButtonsMask.SelectChart Or ChartGridButtonsMask.SelectSeries;
    ChartGrid1.ChartGridButtonsMask = ChartGridButtonsMask.SelectChart | ChartGridButtonsMask.SelectSeries;
    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