New to Telerik UI for WinForms? Start a free 30-day trial
Properties, Methods and Events for RadSlideView
Updated over 6 months ago
Properties
| Property | Description |
|---|---|
| SlideViewElement | Gets the main slide view element. |
| Mappings | Gets the mappings collection. They offer option to map properties from the TemplateElement to the data bound object. Mappings are used only in bounds mode. |
| TemplateElement | Gets or sets the template element that is responsible to display the content. |
| NumberOfPages | Gets or sets the number of pages. If BindingSource is set, this property returns the BindingSource.Count. |
| SelectedIndex | Gets or sets the index of the selected slide view item. |
| ShowButtonsOverContent | Gets or sets a boolean value indicating whether previous and next buttons will be shown over content or outside it. The default value is true, with which the buttons will be displayed over the content. |
| BindingSource | Gets or sets the data source. |
| Orientation | Gets or sets a value indicating how to orientate the navigation buttons - horizontally or vertically. |
| AllowAnimation | Gets or sets a value indicating whether to use animation when changing its state. |
| AnimationInterval | Gets or sets the animation interval. |
| AnimationFrames | Gets or sets the animation frames. |
| AnimationType | Gets or sets the type of the animation that is executed between the slides. |
| AnimationEasingType | Gets or sets the animation easing type. |
| IsInfiniteScrollingEnabled | Determines whether infinite scrolling from last to first slide view item and vice versa is enabled. |
| ButtonsVisibility | Determines whether and how to display the navigation buttons. |
| AutoHideButtonsDelay | Determines how long it takes to the navigation buttons to be hidden after the mouse leaves the control(in milliseconds). Used only when the uttonsVisibility is VisibleOnMouseOver. |
Methods
| Method | Description |
|---|---|
| Select(int index) | Selects the specified index. |
| Select(int index, bool animate) | Selects the specified index. The bool flag determines whether to animate the selection process. |
| CanSelectPrevious() | Determines whether moving to previous item is possible. |
| SelectNext() | Moves the selected item to the next one. |
| SelectPrevious() | Moves the selected item to the previous one. |
| UpdateVisibility() | Updates the visibility. |
Events
| Event | Description |
|---|---|
| SelectedIndexChanged | Occurs when selected index has changed. |
| MappedPropertyUpdating | Occurs when a mapped property value is extracted from the data object and is about to be applied to the mapped template property. Suitable to change the type of the mapped property to match the destination type. For example if the mapped property is of type integer and the template property is of type string, this event allows to synchronize value data type to the mapped template property data type. NOTE that, if the value data type does not match the template property type, the property value will be reset. Note that this event is fired only in bound mode(the BindingSource is set). For unbound mode(when NumberOfPages is used) handle the TemplateUpdated event. |
| TemplateUpdated | Occurs when all mappings have been applied, just before the slide is changed. Suitable to change the template styles or properties. |
| AnimationStarted | Occurs when the animation is started. |
| AnimationFinished | Occurs when the animation is finished. |