Spread for ASP.NET 7.0 Product Documentation
SliderCellType Constructor
See Also  Example Support Options
FarPoint.Web.Spread.Extender Assembly > FarPoint.Web.Spread.Extender Namespace > SliderCellType Class : SliderCellType Constructor


Glossary Item Box

Creates a new ASP.NET AJAX extender slider cell.

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As New SliderCellType()
C# 
public SliderCellType()

Example

C#Copy Code
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;
}

Visual BasicCopy Code
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;
}

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.