PivotGridControl.LeftTopPixelCoord Property

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

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll

Declaration

public Point LeftTopPixelCoord { get; }
Public ReadOnly Property LeftTopPixelCoord As Point

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