New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a control that displays items and/or views in a manner that only one item is presented at a time and this current item occupies the whole space of the RadSlideView as a slide. This control allows to easily navigate to next and previous items via panning.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RadSlideView : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadSlideView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members RadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnBindingContextChanged()RadContentView.OnHandlerChanged()

Constructors

Initializes a new instance of the RadSlideView class.

C#
public RadSlideView()

Fields

Identifies the ActualIndicatorStyle property.

C#
public static readonly BindableProperty ActualIndicatorStyleProperty

Identifies the ActualNavigateToNextItemButtonStyle property.

C#
public static readonly BindableProperty ActualNavigateToNextItemButtonStyleProperty

Identifies the ActualNavigateToPreviousItemButtonStyle property.

C#
public static readonly BindableProperty ActualNavigateToPreviousItemButtonStyleProperty

Identifies the AnimationDuration property.

C#
public static readonly BindableProperty AnimationDurationProperty

AnimationEasingProperty

BindableProperty

Identifies the AnimationEasing property.

C#
public static readonly BindableProperty AnimationEasingProperty

ControlTemplateProperty

BindableProperty

Identifies the ControlTemplate property.

C#
public static readonly BindableProperty ControlTemplateProperty

CurrentIndexProperty

BindableProperty

Identifies the CurrentIndex property.

C#
public static readonly BindableProperty CurrentIndexProperty

CurrentItemProperty

BindableProperty

Identifies the CurrentItem property.

C#
public static readonly BindableProperty CurrentItemProperty

HasLoopingProperty

BindableProperty

Identifies the HasLooping property.

C#
public static readonly BindableProperty HasLoopingProperty

Identifies the IndicatorItemsSource property.

C#
public static readonly BindableProperty IndicatorItemsSourceProperty

IndicatorStyleProperty

BindableProperty

Identifies the IndicatorStyle property.

C#
public static readonly BindableProperty IndicatorStyleProperty

InteractionModeProperty

BindableProperty

Identifies the InteractionMode property.

C#
public static readonly BindableProperty InteractionModeProperty

ItemsProperty

BindableProperty

Identifies the Items property.

C#
public static readonly BindableProperty ItemsProperty

ItemsSourceProperty

BindableProperty

Identifies the ItemsSource property.

C#
public static readonly BindableProperty ItemsSourceProperty

ItemTemplateProperty

BindableProperty

Identifies the ItemTemplate property.

C#
public static readonly BindableProperty ItemTemplateProperty

Identifies the NavigateToNextItemButtonStyle property.

C#
public static readonly BindableProperty NavigateToNextItemButtonStyleProperty

Identifies the NavigateToNextItemCommand property.

C#
public static readonly BindableProperty NavigateToNextItemCommandProperty

Identifies the NavigateToPreviousItemButtonStyle property.

C#
public static readonly BindableProperty NavigateToPreviousItemButtonStyleProperty

Identifies the NavigateToPreviousItemCommand property.

C#
public static readonly BindableProperty NavigateToPreviousItemCommandProperty

Identifies the NavigationButtonsVisibility property.

C#
public static readonly BindableProperty NavigationButtonsVisibilityProperty

OrientationProperty

BindableProperty

Identifies the Orientation property.

C#
public static readonly BindableProperty OrientationProperty

OverscrollModeProperty

BindableProperty

Identifies the OverscrollMode property.

C#
public static readonly BindableProperty OverscrollModeProperty

SpacingProperty

BindableProperty

Identifies the Spacing property.

C#
public static readonly BindableProperty SpacingProperty

Identifies the VirtualizationMode property.

C#
public static readonly BindableProperty VirtualizationModeProperty

Properties

Gets or sets the duration in milliseconds of the animation that is run when the current index changes.

C#
public int AnimationDuration { get; set; }

Gets or sets the Easing of the animation that is run when the current index changes.

C#
public Easing AnimationEasing { get; set; }

ControlTemplate

ControlTemplate

Gets or sets the ControlTemplate which describes the visual structure of the control.

C#
public ControlTemplate ControlTemplate { get; set; }

Gets or sets the index of the currently displayed item.

C#
public int CurrentIndex { get; set; }

Gets or sets the currently displayed item.

C#
public object CurrentItem { get; set; }

Gets or sets a value that indicates whether looping from first to last and from last to first items can happen seemingly as if they are adjacent.

C#
public bool HasLooping { get; set; }

Gets or sets the custom Style that is taken into account when creating the actual Style that will be applied to the SlideViewIndicator.

C#
public Style IndicatorStyle { get; set; }

Gets or sets the interaction mode.

C#
public SlideViewInteractionMode InteractionMode { get; set; }

Gets the collection of views that will be displayed.

C#
public ObservableItemCollection<IView> Items { get; }

Gets or sets a collection of items to display in this view. To produce a view from an item, the ItemTemplate may be used.

C#
public IList ItemsSource { get; set; }

ItemTemplate

DataTemplate

Gets or sets a DataTemplate or a DataTemplateSelector to generate the views from the ItemsSource.

C#
public DataTemplate ItemTemplate { get; set; }

Gets or sets the custom Style that is taken into account when creating the actual Style that will be applied to the that is linked to the NavigateToNextItemCommand.

C#
public Style NavigateToNextItemButtonStyle { get; set; }

Gets a command that handles navigation to the next item. If the HasLooping property is set to true and the current item is the last item, then navigation to the first item can happen and will happen seemingly as if it was the next item.

C#
public ICommand NavigateToNextItemCommand { get; }

Gets or sets the custom Style that is taken into account when creating the actual Style that will be applied to the that is linked to the NavigateToPreviousItemCommand.

C#
public Style NavigateToPreviousItemButtonStyle { get; set; }

Gets a command that handles navigation to the previous item. If the HasLooping property is set to true and the current item is the first item, then navigation to the last item can happen and will happen seemingly as if it was the previous item.

C#
public ICommand NavigateToPreviousItemCommand { get; }

Gets or sets a value that controls the visibility of the navigation buttons.

C#
public ButtonVisibility NavigationButtonsVisibility { get; set; }

Gets or sets the orientation in which the items are laid out.

C#
public Orientation Orientation { get; set; }

Gets or sets a value that controls the behavior when the user attempts to move the items in a direction that is otherwise not allowed.

C#
public OverscrollMode OverscrollMode { get; set; }

Gets or sets the spacing between the items.

C#
public double Spacing { get; set; }

Gets or sets a value indicating what type of virtualization should be used.

C#
public VirtualizationMode VirtualizationMode { get; set; }

Methods

Arranges the children of this control.

C#
protected override Size ArrangeOverride(Rect bounds)
Parameters:boundsRectReturns:

Size

Navigates to the desired item index.

C#
public void NavigateToIndex(int index, bool useAnimation = true)
Parameters:indexintuseAnimationbool

Invoked when the ControlTemplate gets applied.

C#
protected override void OnApplyTemplate()

Events

Raised when the current item or its index changes.

C#
public event EventHandler<CurrentItemChangedEventArgs> CurrentItemChanged