Xceed Chart for WinForms v4.4 Documentation
ChartGridButtonsMask Property
Example 


Xceed.Chart.v4.4 Assembly > Xceed.Chart Namespace > ChartGridControl Class : ChartGridButtonsMask Property
A bitmask controlling the displayed toolbar buttons
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>

<CategoryAttribute("Xceed ChartGrid")>

<DescriptionAttribute("Controls the displayed buttons")>

Public Property ChartGridButtonsMask As ChartGridButtonsMask
'Usage
 
Dim instance As ChartGridControl

Dim value As ChartGridButtonsMask

 

instance.ChartGridButtonsMask = value

 

value = instance.ChartGridButtonsMask
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]

[Category("Xceed ChartGrid")]

[Description("Controls the displayed buttons")]

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

Reference

ChartGridControl Class
ChartGridControl Members