ASP.NET Pack Programmer's Guide
Slideshow Members
Constructors Properties Methods Events
 


Represents an image slideshow.

The following tables list the members exposed by the Slideshow type.

 Public Constructors

  Name Description

Slideshow

Initializes a new instance of the Slideshow class.

 Public Properties

  Name Description

AutoPostBack

Gets or sets a value specifying whether the control should automatically post back to the server when an item is clicked.

AutoReverse

Gets or sets a value specifying whether the control should automatically replay the slideshow.

AutoStart

Gets or sets a value specifying whether the control should automatically start the slideshow when loaded.

ClientScriptMode

Gets or sets a value indicating which library will be used in the control's client-side scripts.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the control is loaded.

Height

WebControl.Height override.

ImageSource

Gets or sets the list of images to load in the control.

IsThemed

Gets a value indicating the control has its Theme property set to a specified value.

ItemClickedScript

Gets or sets the name of a JavaScript function that should be invoked when a slideshow image is clicked.

Items

Gets the collection of SlideshowItem instances, associated with this Slideshow.

LicenseKey

Gets or sets the license key of the control.

SelectedIndex

Gets or sets the index of the currently selected image.

SelectedIndexChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the selected image index has changed.

ShowButtons

Gets or sets a value indicating whether the control should display navigation buttons.

SlideshowSpeed

Gets or sets the slideshow speed.

Theme

Gets or sets the theme applied to the control.

ThumbnailsHeight

Gets or sets the height of the thumbnails.

ThumbnailsPlacement

Gets or sets the alignment of the thumbnails.

ThumbnailsWidth

Gets or sets the width of the thumbnails.

TitlePosition

Gets or sets the alignment of the image title.

TransitionSpeed

Gets or sets the image transition speed.

Width

WebControl.Width override.

 Public Methods

  Name Description

AddItem

Adds a new item to the control's Items collection.

LoadFromXml

Overloaded. Loads control data from an XML file or from a System.Xml.XmlDocument.

OnDeserializeTag

Raises the DeserializeTag event.

OnSerializeTag

Raises the SerializeTag event.

SaveToXml

Overloaded. Saves control data to an XML file or to a System.Xml.XmlDocument.

 Protected Methods

  Name Description

LoadViewState

Control.LoadViewState override.

OnBeginLoad

Raises the BeginLoad event.

OnClick

Raises the Click event.

OnEndLoad

Raises the EndLoad event.

OnPreRender

Control.OnPreRender override.

Render

Control.Render override.

RenderContents

WebControl.RenderContents override.

SaveViewState

Control.SaveViewState override.

TrackViewState

Control.TrackViewState override.

 Public Events

  Name Description

BeginLoad

Raised when the component starts loading data from a file or memory stream.

Click

Raised when an item's image is clicked.

DeserializeTag

Raised during XML deserialization to enable users to perform custom deserialization of the tag values of items.

EndLoad

Raised when the component ends loading data from a file or memory stream.

SerializeTag

Raised during XML serialization to enable users to perform custom serialization of the tag values of items.

 See Also

Slideshow Class
MindFusion.UI.WebForms Namespace