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


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


Name Type Description
name String

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


Type Description

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


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