Nevron .NET Vision
Nevron.Chart.WinForm Namespace / NChartGridControl Class / ChartGridButtonsMask Property
Example


In This Topic
    ChartGridButtonsMask Property
    In This Topic
    A bitmask controlling the displayed toolbar buttons
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Nevron NChartGrid")>
    <System.ComponentModel.DescriptionAttribute("Controls the displayed buttons")>
    <System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
    Public Property ChartGridButtonsMask As ChartGridButtonsMask
    'Usage
     
    
    Dim instance As NChartGridControl
    Dim value As ChartGridButtonsMask
     
    instance.ChartGridButtonsMask = value
     
    value = instance.ChartGridButtonsMask
    [System.ComponentModel.Category("Nevron NChartGrid")]
    [System.ComponentModel.Description("Controls the displayed buttons")]
    [System.ComponentModel.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
    NChartGrid1.ChartGridButtonsMask = ChartGridButtonsMask.SelectChart Or ChartGridButtonsMask.SelectSeries;
    NChartGrid1.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