Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.LeftTopPixelCoord Property

Gets the coordinates of the data area displayed in the top left corner.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public Point LeftTopPixelCoord { get; }

#Property Value

Type Description
Point

A Point structure that identifies the coordinates displayed in the top left corner.

#Remarks

Create a System.Drawing.Point instance and set its X and Y properties. The System.Drawing.Point.X and System.Drawing.Point.Y properties identify the X and Y coordinates of the data area displayed in the top left corner of the PivotGridControl. Initially, the LeftTopPixelCoord property is set to {0, 0} and the control is not scrolled.

A data cell can also be identified by its column and row indexes. To get the column and row indexes of the data cell displayed in the top left corner, use the PivotGridControl.LeftTopCoord property.

To scroll the pivot grid, use the PivotGridControl.ScrollTo method.

See Also