Back to Devexpress

XYDiagram2D.FindPaneByName(String) Method

corelibraries-devexpress-dot-xtracharts-dot-xydiagram2d-dot-findpanebyname-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

XYDiagram2D.FindPaneByName(String) Method

Gets a pane within the chart’s pane collection by its name.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public XYDiagramPaneBase FindPaneByName(
    string name
)
vb
Public Function FindPaneByName(
    name As String
) As XYDiagramPaneBase

Parameters

NameTypeDescription
nameString

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

|

Returns

TypeDescription
XYDiagramPaneBase

An XYDiagramPaneBase 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

XYDiagram2D Class

XYDiagram2D Members

DevExpress.XtraCharts Namespace