Spread Windows Forms 12.0 Product Documentation
Visible Field (SheetAxisProperty)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > SheetAxisProperty Class : Visible Field
Represents the axis model Visible property. This field is read-only.
Syntax
'Declaration
 
Public Shared ReadOnly Visible As SheetAxisProperty
'Usage
 
Dim value As SheetAxisProperty
 
value = SheetAxisProperty.Visible
public static readonly SheetAxisProperty Visible
Example
This example checks to see if the Visible property has been set for the specified index of the model.
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.SetVisible(0, false);
b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.Visible);
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.SetVisible(0, False)
b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.Visible)
ListBox1.Items.Add(b.ToString())
See Also

Reference

SheetAxisProperty Class
SheetAxisProperty Members