wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-c6a53216.md
Gets the coordinates of the data area displayed in the top left corner.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public Point LeftTopPixelCoord { get; }
Public ReadOnly Property LeftTopPixelCoord As Point
| Type | Description |
|---|---|
| Point |
A Point structure that identifies the coordinates displayed in the top left corner.
|
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