Skip to main content

XYDiagramPaneCollection.GetPaneByName(String) Method

Gets a pane within the collection by its name.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.1.dll


public XYDiagramPane GetPaneByName(
    string name


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).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetPaneByName(String) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also