Class
RadSlideView

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:

cs-api-definition
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

RadSlideView()

Initializes a new instance of the RadSlideView class.

Declaration

cs-api-definition
public RadSlideView()

Fields

ActualIndicatorStyleProperty

Identifies the ActualIndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualIndicatorStyleProperty

Field Value

BindableProperty

ActualNavigateToNextItemButtonStyleProperty

Identifies the ActualNavigateToNextItemButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualNavigateToNextItemButtonStyleProperty

Field Value

BindableProperty

ActualNavigateToPreviousItemButtonStyleProperty

Identifies the ActualNavigateToPreviousItemButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualNavigateToPreviousItemButtonStyleProperty

Field Value

BindableProperty

AnimationDurationProperty

Identifies the AnimationDuration property.

Declaration

cs-api-definition
public static readonly BindableProperty AnimationDurationProperty

Field Value

BindableProperty

AnimationEasingProperty

Identifies the AnimationEasing property.

Declaration

cs-api-definition
public static readonly BindableProperty AnimationEasingProperty

Field Value

BindableProperty

ControlTemplateProperty

Identifies the ControlTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ControlTemplateProperty

Field Value

BindableProperty

CurrentIndexProperty

Identifies the CurrentIndex property.

Declaration

cs-api-definition
public static readonly BindableProperty CurrentIndexProperty

Field Value

BindableProperty

CurrentItemProperty

Identifies the CurrentItem property.

Declaration

cs-api-definition
public static readonly BindableProperty CurrentItemProperty

Field Value

BindableProperty

HasLoopingProperty

Identifies the HasLooping property.

Declaration

cs-api-definition
public static readonly BindableProperty HasLoopingProperty

Field Value

BindableProperty

IndicatorItemsSourceProperty

Identifies the IndicatorItemsSource property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorItemsSourceProperty

Field Value

BindableProperty

IndicatorStyleProperty

Identifies the IndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty IndicatorStyleProperty

Field Value

BindableProperty

InteractionModeProperty

Identifies the InteractionMode property.

Declaration

cs-api-definition
public static readonly BindableProperty InteractionModeProperty

Field Value

BindableProperty

ItemTemplateProperty

Identifies the ItemTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemTemplateProperty

Field Value

BindableProperty

ItemsProperty

Identifies the Items property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemsProperty

Field Value

BindableProperty

ItemsSourceProperty

Identifies the ItemsSource property.

Declaration

cs-api-definition
public static readonly BindableProperty ItemsSourceProperty

Field Value

BindableProperty

NavigateToNextItemButtonStyleProperty

Identifies the NavigateToNextItemButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToNextItemButtonStyleProperty

Field Value

BindableProperty

NavigateToNextItemCommandProperty

Identifies the NavigateToNextItemCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToNextItemCommandProperty

Field Value

BindableProperty

NavigateToPreviousItemButtonStyleProperty

Identifies the NavigateToPreviousItemButtonStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToPreviousItemButtonStyleProperty

Field Value

BindableProperty

NavigateToPreviousItemCommandProperty

Identifies the NavigateToPreviousItemCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigateToPreviousItemCommandProperty

Field Value

BindableProperty

NavigationButtonsVisibilityProperty

Identifies the NavigationButtonsVisibility property.

Declaration

cs-api-definition
public static readonly BindableProperty NavigationButtonsVisibilityProperty

Field Value

BindableProperty

OrientationProperty

Identifies the Orientation property.

Declaration

cs-api-definition
public static readonly BindableProperty OrientationProperty

Field Value

BindableProperty

OverscrollModeProperty

Identifies the OverscrollMode property.

Declaration

cs-api-definition
public static readonly BindableProperty OverscrollModeProperty

Field Value

BindableProperty

SpacingProperty

Identifies the Spacing property.

Declaration

cs-api-definition
public static readonly BindableProperty SpacingProperty

Field Value

BindableProperty

VirtualizationModeProperty

Identifies the VirtualizationMode property.

Declaration

cs-api-definition
public static readonly BindableProperty VirtualizationModeProperty

Field Value

BindableProperty

Properties

AnimationDuration

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

Declaration

cs-api-definition
public int AnimationDuration { get; set; }

Property Value

int

AnimationEasing

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

Declaration

cs-api-definition
public Easing AnimationEasing { get; set; }

Property Value

Easing

ControlTemplate

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

Declaration

cs-api-definition
public ControlTemplate ControlTemplate { get; set; }

Property Value

ControlTemplate

CurrentIndex

Gets or sets the index of the currently displayed item.

Declaration

cs-api-definition
public int CurrentIndex { get; set; }

Property Value

int

CurrentItem

Gets or sets the currently displayed item.

Declaration

cs-api-definition
public object CurrentItem { get; set; }

Property Value

object

HasLooping

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.

Declaration

cs-api-definition
public bool HasLooping { get; set; }

Property Value

bool

IndicatorStyle

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

Declaration

cs-api-definition
public Style IndicatorStyle { get; set; }

Property Value

Style

InteractionMode

Gets or sets the interaction mode.

Declaration

cs-api-definition
public SlideViewInteractionMode InteractionMode { get; set; }

Property Value

SlideViewInteractionMode

ItemTemplate

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

Declaration

cs-api-definition
public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

Items

Gets the collection of views that will be displayed.

Declaration

cs-api-definition
public ObservableItemCollection<IView> Items { get; }

Property Value

ObservableItemCollection<IView>

ItemsSource

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

Declaration

cs-api-definition
public IList ItemsSource { get; set; }

Property Value

IList

NavigateToNextItemButtonStyle

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.

Declaration

cs-api-definition
public Style NavigateToNextItemButtonStyle { get; set; }

Property Value

Style

NavigateToNextItemCommand

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.

Declaration

cs-api-definition
public ICommand NavigateToNextItemCommand { get; }

Property Value

ICommand

NavigateToPreviousItemButtonStyle

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.

Declaration

cs-api-definition
public Style NavigateToPreviousItemButtonStyle { get; set; }

Property Value

Style

NavigateToPreviousItemCommand

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.

Declaration

cs-api-definition
public ICommand NavigateToPreviousItemCommand { get; }

Property Value

ICommand

NavigationButtonsVisibility

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

Declaration

cs-api-definition
public ButtonVisibility NavigationButtonsVisibility { get; set; }

Property Value

ButtonVisibility

Orientation

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

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

OverscrollMode

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.

Declaration

cs-api-definition
public OverscrollMode OverscrollMode { get; set; }

Property Value

OverscrollMode

Spacing

Gets or sets the spacing between the items.

Declaration

cs-api-definition
public double Spacing { get; set; }

Property Value

double

VirtualizationMode

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

Declaration

cs-api-definition
public VirtualizationMode VirtualizationMode { get; set; }

Property Value

VirtualizationMode

Methods

ArrangeOverride(Rect)

Arranges the children of this control.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Rect bounds)

Parameters

bounds

Rect

Returns

Size

NavigateToIndex(int, bool)

Navigates to the desired item index.

Declaration

cs-api-definition
public void NavigateToIndex(int index, bool useAnimation = true)

Parameters

index

int

useAnimation

bool

OnApplyTemplate()

Invoked when the ControlTemplate gets applied.

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Events

CurrentItemChanged

Raised when the current item or its index changes.

Declaration

cs-api-definition
public event EventHandler<CurrentItemChangedEventArgs> CurrentItemChanged

Event Value

EventHandler<CurrentItemChangedEventArgs>