XYDiagram2D.FindPaneByName(String) Method
In This Article
Gets a pane within the chart’s pane collection by its name.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public XYDiagramPaneBase FindPaneByName(
string name
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A String which specifies the name of the pane to find. |
#Returns
Type | Description |
---|---|
XYDiagram |
An XYDiagram |
#Remarks
Note that this method finds only the first occurrence of a pane with the specified name. If no element with the specified name is found, then this method returns null (Nothing in Visual Basic).
See Also