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


Glossary Item Box

Gets or sets whether to animate the calendar.

Syntax

Visual Basic (Declaration) 
Public Property Animated As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DateCalendarCellType
Dim value As Boolean
 
instance.Animated = value
 
value = instance.Animated
C# 
public bool Animated {get; set;}

Property Value

Boolean: true if animated; false otherwise

Example

This example creates a cell with a calendar editor.
C#Copy Code
FarPoint.Web.Spread.Extender.DateCalendarCellType dc = new FarPoint.Web.Spread.Extender.DateCalendarCellType();
dc.Animated = true;
dc.DateFormat = "MM/dd/yyyy";
dc.EnableOnClient = true;
AjaxControlToolkit.MaskedEditExtender mee = new AjaxControlToolkit.MaskedEditExtender();
mee.Mask = "99/99/9999";
mee.MaskType = AjaxControlToolkit.MaskedEditType.Date;
dc.Extenders.Add(mee);
dc.ShowEditor = true;
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = dc;
Visual BasicCopy Code
Dim dc As New FarPoint.Web.Spread.Extender.DateCalendarCellType
dc.Animated = True
dc.DateFormat = "MM/dd/yyyy"
dc.EnableOnClient = True
Dim mee As New AjaxControlToolkit.MaskedEditExtender
mee.Mask = "99/99/9999"
mee.MaskType = AjaxControlToolkit.MaskedEditType.Date
dc.Extenders.Add(mee)
dc.ShowEditor = True
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = dc

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.