Class SfCarouselItem
Implements a selectable item inside a SfCarousel
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Controls.Layout
Assembly: Syncfusion.SfCarousel.UWP.dll
Syntax
public class SfCarouselItem : ContentControl, IDisposable
Remarks
The CarouselItem is a Windows.UI.Xaml.Controls.ContentControl.
Constructors
SfCarouselItem()
Initializes a new instance of the SfCarouselItem class.
Declaration
public SfCarouselItem()
Fields
IsSelectedProperty
Using a DependencyProperty as the backing store for IsSelected. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
IsSelected
Gets or sets a value indicating whether SfCarouselItem is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Storyboard
Gets or internal set the Storyboard.
Declaration
public Storyboard Storyboard { get; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Animation.Storyboard | The storyboard. |
Methods
Dispose()
To clear unused objects
Declaration
public void Dispose()
Dispose(Boolean)
To remove all the instance which is used in Accordion
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | The disposing |
OnApplyTemplate()
Applies the template forSfBusyIndicator control.
Declaration
protected override void OnApplyTemplate()
OnPointerExited(PointerRoutedEventArgs)
method is called when PointerExited.
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer RoutedEvent Argument as e. |
OnPointerMoved(PointerRoutedEventArgs)
sets the focus when pointer is moved.
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer RoutedEvent Argument as e. |
OnPointerPressed(PointerRoutedEventArgs)
Sets the parentItemsControl when pointer is pressed.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer RoutedEvent Argument as e |
OnPointerReleased(PointerRoutedEventArgs)
Sets the parent Items Control when pointer is released.
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer RoutedEvent Argument as e. |
Events
Selected
Occurs when the selected item has changed.
Declaration
public event RoutedEventHandler Selected
Event Type
Type |
---|
Windows.UI.Xaml.RoutedEventHandler |