New to Telerik UI for WinForms? Start a free 30-day trial

Re-evaluates a carousel item's path and applies its visual state when its carousel location changes.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CarouselItemsLocationBehavior : PropertyChangeBehavior

Inheritance: objectPropertyChangeBehaviorCarouselItemsLocationBehavior

Inherited Members PropertyChangeBehavior.BehaviorRemoving(RadElement)PropertyChangeBehavior.Property

Constructors

Creates a behavior that observes the owner's carousel-location property and uses its path and animation settings.

C#
public CarouselItemsLocationBehavior(CarouselItemsContainer owner)
Parameters:ownerCarouselItemsContainer

The container that provides the path, animation flags, and layout size.

Methods

Evaluates and applies the owner's path when the element's carousel-location value changes to a non-NaN value.

C#
public override void OnPropertyChange(RadElement element, RadPropertyChangedEventArgs e)
Parameters:elementRadElement

The element whose property changed.

eRadPropertyChangedEventArgs

The changed property and its new value.

Overrides: PropertyChangeBehavior.OnPropertyChange(RadElement, RadPropertyChangedEventArgs)