Spread Windows Forms 12.0 Product Documentation
Orientation Property (SliderCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > SliderCellType Class : Orientation Property
Gets or sets the orientation of the slider.
Syntax
'Declaration
 
Public Property Orientation As SliderOrientation
'Usage
 
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
Example
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

Reference

SliderCellType Class
SliderCellType Members