'Declaration Public Shared ReadOnly Tag As SheetAxisProperty
'使用法 Dim value As SheetAxisProperty value = SheetAxisProperty.Tag
public static readonly SheetAxisProperty Tag
FarPoint.Win.Spread.Model.DefaultSheetAxisModel defAxis = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical); fpSpread1.ActiveSheet.Models.ColumnAxis = defAxis; bool b; defAxis.SetTag(0, "TestTag"); b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.Tag); listBox1.Items.Add(b.ToString());
Dim defAxis As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical) defAxis = FpSpread1.ActiveSheet.Models.ColumnAxis Dim b As Boolean defAxis.SetTag(0, "TestTag") b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.Tag) ListBox1.Items.Add(b.ToString())