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.
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class RadSlideView : RadContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Constructors
RadSlideView()
Fields
ActualIndicatorStyleProperty
Identifies the ActualIndicatorStyle property.
Declaration
public static readonly BindableProperty ActualIndicatorStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ActualNavigateToNextItemButtonStyleProperty
ActualNavigateToPreviousItemButtonStyleProperty
AnimationDurationProperty
Identifies the AnimationDuration property.
Declaration
public static readonly BindableProperty AnimationDurationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
AnimationEasingProperty
Identifies the AnimationEasing property.
Declaration
public static readonly BindableProperty AnimationEasingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ControlTemplateProperty
Identifies the ControlTemplate property.
Declaration
public static readonly BindableProperty ControlTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
CurrentIndexProperty
Identifies the CurrentIndex property.
Declaration
public static readonly BindableProperty CurrentIndexProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
CurrentItemProperty
Identifies the CurrentItem property.
Declaration
public static readonly BindableProperty CurrentItemProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
HasLoopingProperty
Identifies the HasLooping property.
Declaration
public static readonly BindableProperty HasLoopingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
IndicatorItemsSourceProperty
Identifies the IndicatorItemsSource property.
Declaration
public static readonly BindableProperty IndicatorItemsSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
IndicatorStyleProperty
Identifies the IndicatorStyle property.
Declaration
public static readonly BindableProperty IndicatorStyleProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
InteractionModeProperty
Identifies the InteractionMode property.
Declaration
public static readonly BindableProperty InteractionModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemsProperty
Identifies the Items property.
Declaration
public static readonly BindableProperty ItemsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemsSourceProperty
Identifies the ItemsSource property.
Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
ItemTemplateProperty
Identifies the ItemTemplate property.
Declaration
public static readonly BindableProperty ItemTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
NavigateToNextItemButtonStyleProperty
NavigateToNextItemCommandProperty
NavigateToPreviousItemButtonStyleProperty
NavigateToPreviousItemCommandProperty
NavigationButtonsVisibilityProperty
OrientationProperty
Identifies the Orientation property.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
OverscrollModeProperty
Identifies the OverscrollMode property.
Declaration
public static readonly BindableProperty OverscrollModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
SpacingProperty
Identifies the Spacing property.
Declaration
public static readonly BindableProperty SpacingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
VirtualizationModeProperty
Identifies the VirtualizationMode property.
Declaration
public static readonly BindableProperty VirtualizationModeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
ActualIndicatorStyle
Gets the actual Microsoft.Maui.Controls.Style that is applied to the SlideViewIndicator . This style is the result of merging the default style and the custom IndicatorStyle.
Declaration
public Style ActualIndicatorStyle { get; }
Property Value
Microsoft.Maui.Controls.Style
|
ActualNavigateToNextItemButtonStyle
ActualNavigateToPreviousItemButtonStyle
AnimationDuration
Gets or sets the duration in milliseconds of the animation that is run when the current index changes.
Declaration
public int AnimationDuration { get; set; }
Property Value
System.Int32
|
AnimationEasing
Gets or sets the Microsoft.Maui.Easing of the animation that is run when the current index changes.
Declaration
public Easing AnimationEasing { get; set; }
Property Value
Microsoft.Maui.Easing
|
ControlTemplate
Gets or sets the Microsoft.Maui.Controls.ControlTemplate which describes the visual structure of the control.
Declaration
public ControlTemplate ControlTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.ControlTemplate
|
CurrentIndex
Gets or sets the index of the currently displayed item.
Declaration
public int CurrentIndex { get; set; }
Property Value
System.Int32
|
CurrentItem
Gets or sets the currently displayed item.
Declaration
public object CurrentItem { get; set; }
Property Value
System.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
public bool HasLooping { get; set; }
Property Value
System.Boolean
|
IndicatorItemsSource
Gets the items source that will be passed to the SlideViewIndicator inside the ControlTemplate.
Declaration
public IList IndicatorItemsSource { get; }
Property Value
System.Collections.IList
|
IndicatorStyle
Gets or sets the custom Microsoft.Maui.Controls.Style that is taken into account when creating the actual Microsoft.Maui.Controls.Style that will be applied to the SlideViewIndicator.
Declaration
public Style IndicatorStyle { get; set; }
Property Value
Microsoft.Maui.Controls.Style
|
InteractionMode
Gets or sets the interaction mode.
Declaration
public SlideViewInteractionMode InteractionMode { get; set; }
Property Value
SlideViewInteractionMode
|
Items
Gets the collection of views that will be displayed.
Declaration
public ObservableItemCollection<IView> Items { get; }
Property Value
ObservableItemCollection<Microsoft.Maui.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
public IList ItemsSource { get; set; }
Property Value
System.Collections.IList
|
ItemTemplate
Gets or sets a Microsoft.Maui.Controls.DataTemplate or a Microsoft.Maui.Controls.DataTemplateSelector to generate the views from the ItemsSource.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
NavigateToNextItemButtonStyle
NavigateToNextItemCommand
NavigateToPreviousItemButtonStyle
NavigateToPreviousItemCommand
NavigationButtonsVisibility
Orientation
Gets or sets the orientation in which the items are laid out.
Declaration
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
public OverscrollMode OverscrollMode { get; set; }
Property Value
OverscrollMode
|
Spacing
Gets or sets the spacing between the items.
Declaration
public double Spacing { get; set; }
Property Value
System.Double
|
VirtualizationMode
Gets or sets a value indicating what type of virtualization should be used.
Declaration
public VirtualizationMode VirtualizationMode { get; set; }
Property Value
VirtualizationMode
|
Methods
ArrangeOverride(Rect)
Arranges the children of this control.
Declaration
protected override Size ArrangeOverride(Rect bounds)
Parameters
Microsoft.Maui.Graphics.Rect
bounds
|
Returns
Microsoft.Maui.Graphics.Size
|
NavigateToIndex(Int32, Boolean)
OnApplyTemplate()
Invoked when the ControlTemplate gets applied.
Declaration
protected override void OnApplyTemplate()
Events
CurrentItemChanged
Raised when the current item or its index changes.
Declaration
public event EventHandler<CurrentItemChangedEventArgs> CurrentItemChanged
Event Type
System.EventHandler<CurrentItemChangedEventArgs>
|