Spread for ASP.NET 11 Product Documentation
HandleCssClass Property
Example 


FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > SliderCellType Class : HandleCssClass Property
Gets or sets the CSS class that defines the style for the handle element.
Syntax
'Declaration
 
Public Property HandleCssClass As String
'Usage
 
Dim instance As SliderCellType
Dim value As String
 
instance.HandleCssClass = value
 
value = instance.HandleCssClass
public string HandleCssClass {get; set;}

Property Value

String containing the name of the CSS class
Example
FarPoint.Web.Spread.Extender.SliderCellType slide = new FarPoint.Web.Spread.Extender.SliderCellType();
slide.Decimals = 1;
slide.EnableHandleAnimation = true;
slide.HandleCssClass = "sliderhandle";
slide.Minimum = 0;
slide.Maximum = 100;
slide.TooltipText = "{0}";
slide.RailCssClass = "sliderrail";
slide.Orientation = AjaxControlToolkit.SliderOrientation.Horizontal;
slide.RaiseChangeOnlyOnMouseUp = true;
slide.ShowEditor = true;
slide.Steps = 10;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = s;

.sliderrail 
{
    position:relative;
    background-image:url(images/sliderhrail.gif); 
    height:22px;
    width:150px;
}

.sliderhandle 
{
    position:absolute;
    background-image:url(images/sliderhhandle.gif); 
    height:22px;
    width:10px;
}

Dim slide As New FarPoint.Web.Spread.Extender.SliderCellType
slide.Decimals = 1
slide.EnableHandleAnimation = True
slide.HandleCssClass = "sliderhandle"
slide.Minimum = 0
slide.Maximum = 100
slide.TooltipText = "{0}"
slide.RailCssClass = "sliderrail"
slide.Orientation = AjaxControlToolkit.SliderOrientation.Horizontal
slide.RaiseChangeOnlyOnMouseUp = True
slide.ShowEditor = True
slide.Steps = 10
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = s

.sliderrail 
{
    position:relative;
    background-image:url(images/sliderhrail.gif); 
    height:22px;
    width:150px;
}

.sliderhandle 
{
    position:absolute;
    background-image:url(images/sliderhhandle.gif); 
    height:22px;
    width:10px;
}
See Also

Reference

SliderCellType Class
SliderCellType Members