FlexPivot for WinForms
LeftCol プロパティ (C1FlexGridBase)

C1.Win.C1FlexGrid.4.5.2 アセンブリ > C1.Win.C1FlexGrid 名前空間 > C1FlexGridBase クラス : LeftCol プロパティ
Gets or sets the first visible column in the scrollable area.
シンタックス
'宣言
 
Public Property LeftCol As System.Integer
public System.int LeftCol {get; set;}
解説

Setting the LeftCol property causes the grid to scroll horizontally so that the given column becomes the leftmost visible column. This is often useful when you want to synchronize two or more grids so that when one of them scrolls, the other scrolls as well. To scroll vertically, use the TopRow property.

When setting this property, the largest possible column number is the total number of columns minus the number of columns that will fit the display. Attempting to set LeftCol to a greater value will cause the grid to set it to the largest possible value (no error will occur).

The value returned by the LeftCol and TopRow properties may correspond to partially visible rows or columns.

Use the LeftCol and TopRow properties to scroll using cells as units. Use the C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.ScrollPosition property to scroll the grid using pixel units.

To ensure that a given cell is visible, use the ShowCell method.

参照

C1FlexGridBase クラス
C1FlexGridBase メンバ