FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : GetColumnFromTag メソッド |
'Declaration
Public Function GetColumnFromTag( _ ByVal columnToStart As Column, _ ByVal tagToFind As Object _ ) As Column
public Column GetColumnFromTag( Column columnToStart, object tagToFind )
FarPoint.Win.Spread.SheetView sv; FarPoint.Win.Spread.Column col; sv = fpSpread1.ActiveSheet; sv.Columns[2].Tag = "MyTag"; acell = sv.GetColumnFromTag(null, "MyTag"); col.BackColor = Color.Yellow;
Dim sv As FarPoint.Win.Spread.SheetView Dim col As FarPoint.Win.Spread.Column sv = FpSpread1.ActiveSheet sv.Columns(2).Tag = "MyTag" col = sv.GetColumnFromTag(Nothing, "MyTag") col.BackColor = Color.Yellow