A newer version of this page is available. Switch to the current version.

XYDiagramPaneCollection.GetPaneByName(String) Method

Gets a pane within the collection by its name.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

public XYDiagramPane GetPaneByName(
    string name
)
Public Function GetPaneByName(
    name As String
) As XYDiagramPane

Parameters

Name Type Description
name String

A String which specifies the name of the pane to find.

Returns

Type Description
XYDiagramPane

An XYDiagramPane object that represents the pane with the specified name.

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