Spread Windows Forms 12.0 Product Documentation
Orientation Property (SliderCellType)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > SliderCellType Class : Orientation Property
Gets or sets the orientation of the slider.
Public Property Orientation As SliderOrientation
Dim instance As SliderCellType
Dim value As SliderOrientation
instance.Orientation = value
value = instance.Orientation
public SliderOrientation Orientation {get; set;}

Property Value

SliderOrientation setting that determines the orientation of the slider
This example creates a slider cell and sets the orientation.
FarPoint.Win.Spread.CellType.SliderCellType slider = new FarPoint.Win.Spread.CellType.SliderCellType();
slider.Orientation = FarPoint.Win.SliderOrientation.Vertical;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = slider;
Dim slider As New FarPoint.Win.Spread.CellType.SliderCellType()
slider.Orientation = FarPoint.Win.SliderOrientation.Vertical
FpSpread1.ActiveSheet.Cells(0, 0).CellType = slider
See Also


SliderCellType Class
SliderCellType Members