'Declaration Public Property ItemsPrimaryAxis As PrimaryAxis
'Usage Dim instance As DataGridControl Dim value As PrimaryAxis instance.ItemsPrimaryAxis = value value = instance.ItemsPrimaryAxis
public PrimaryAxis ItemsPrimaryAxis {get; set;}
Property Value
A PrimaryAxis value representing which axis of a DataRow must be completely visible in order to determine which DataRow will receive the focus when the page-up or page-down buttons are pressed. By default, PrimaryAxis.Vertical.
Member | Description |
---|---|
Vertical | The vertical axis must be completely visible (see item 3 in the image below). |
Horizontal | The horizontal axis ust be completely visible (see item 2 in the image below). |
Both | Both the vertical and horizontal axes must be completely visible (see item 1 in the image below). |
None | Neither the vertical nor horizontal axes must be completely visible (see item 4 in the image below). |
The ItemsPrimaryAxis property applies only when a pixel-scrolling panel template is assigned to a grid's ItemsPanel property. The default VirtualizingStackPanel and VirtualizingCardPanel panels use item-scrolling rather than pixel-scrolling.