Back to Devexpress

PivotGridControl.LeftTopPixelCoord Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-c6a53216.md

latest2.0 KB
Original Source

PivotGridControl.LeftTopPixelCoord Property

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

Declaration

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

Property Value

TypeDescription
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

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace