Fundamentals
Components
Code Utilities
Demo
BcSlider
Description
The BcSlider component provides an animated sliding interface for dynamically displaying content elements. It supports transitions between slides and can be controlled programmatically.
Slide 1
Slide 2
Slide 3
Sample
Parameters
OptionTemplate
RenderFragment
FormatingStateChanged
Action?
Event triggered when the state of the slider changes.
AnimationFinished
Action?
Event triggered when an animation completes.
SlideElements
BcSlideElementReference < T >
A list of elements currently contained within the slider.
Methods
AddItem ( Type contentType, T slideElementData )
Adds a new slide element dynamically to the slider.
BcSlideElementReference < T >
RemoveItem ( )
Removes a specific slide element from the slider.
void
SlideNext ( )
Slides to the next element in the slider.
void
SlideBack ( )
Slides to the previous element in the slider.
void
SlideToElementInstant ( int slideIndex )
Jumps directly to a specific slide index without animation.
void
ClearItems ( )
Removes all slide elements from the slider.
void