Class
RadLoopingList

Implements a light-weight implementation of a Selector control which is completely virtualized in both UI and Data terms.

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives.LoopingList

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadLoopingList : RadControl

Inheritance: objectRadControlRadLoopingList

Derived Classes: DateTimeList

Inherited Members RadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

RadLoopingList()

Initializes a new instance of the RadLoopingList class.

Declaration

cs-api-definition
public RadLoopingList()

Fields

CenteredItemSnapPositionProperty

Defines the CenteredItemSnapPosition dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CenteredItemSnapPositionProperty

Field Value

DependencyProperty

IsCenteredProperty

Defines the IsCentered property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsCenteredProperty

Field Value

DependencyProperty

IsExpandedProperty

Defines the IsExpanded property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsExpandedProperty

Field Value

DependencyProperty

IsLoopingEnabledProperty

Defines the IsLoopingEnabled property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsLoopingEnabledProperty

Field Value

DependencyProperty

ItemHeightProperty

Defines the ItemHeight property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemHeightProperty

Field Value

DependencyProperty

ItemSpacingProperty

Defines the ItemSpacing property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemSpacingProperty

Field Value

DependencyProperty

ItemStyleProperty

Defines the ItemStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemStyleProperty

Field Value

DependencyProperty

ItemTemplateProperty

Defines the ItemTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateProperty

Field Value

DependencyProperty

ItemTemplateSelectorProperty

Identifies the SpecialDayTemplateSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateSelectorProperty

Field Value

DependencyProperty

ItemWidthProperty

Defines the ItemWidth property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemWidthProperty

Field Value

DependencyProperty

ItemsSourceProperty

Defines the ItemsSource property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

OrientationProperty

Defines the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

SelectedIndexProperty

Defines the SelectedIndex property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedIndexProperty

Field Value

DependencyProperty

SnapOffsetCorrectionProperty

Defines SnapOffsetCorrection dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SnapOffsetCorrectionProperty

Field Value

DependencyProperty

Properties

CenteredItemSnapPosition

Gets or sets the position of the centered item relatively to the viewport's starting edge if the IsCentered property is set to true.

Declaration

cs-api-definition
public LoopingListItemSnapPosition CenteredItemSnapPosition { get; set; }

Property Value

LoopingListItemSnapPosition

FirstRealizedIndex

Gets the first logical index that is realized within the hosted LoopingPanel.

Declaration

cs-api-definition
public int FirstRealizedIndex { get; }

Property Value

int

IsCentered

Gets or sets a value indicating whether the list will vertically center the currently selected item.

Declaration

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

Property Value

bool

IsExpanded

Gets or sets a value indicating whether the list is currently expanded. That is to put all the items except the currently selected one in the "Collapsed" visual state.

Declaration

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

Property Value

bool

IsInitialized

Gets a value indicating whether the list is loaded and has its template applied.

Declaration

cs-api-definition
public bool IsInitialized { get; }

Property Value

bool

IsLoopingEnabled

Gets or sets a value indicating whether looping is enabled. That is to allow infinite scrolling of the current logical wheel.

Declaration

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

Property Value

bool

ItemHeight

Gets or sets the height of a single item within the hosted RadLoopingList panel.

Declaration

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

Property Value

double

ItemSpacing

Gets or sets the spacing among visual items within the hosted LoopingPanel instance.

Declaration

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

Property Value

double

ItemStyle

Gets or sets the Style to be applied to each visual item present within the selector.

Declaration

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

Property Value

Style

ItemTemplate

Gets or sets the DataTemplate to be applied to each visual item present within the selector.

Declaration

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

Property Value

DataTemplate

ItemTemplateSelector

Gets or sets a template selector that used to provide a specific visualization for specific items.

Declaration

cs-api-definition
public DataTemplateSelector ItemTemplateSelector { get; set; }

Property Value

DataTemplateSelector

ItemWidth

Gets or sets the width of a single item within the hosted RadLoopingList panel.

Declaration

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

Property Value

double

ItemsSource

Gets or sets the ItemsSource used as a DataContext of the looping list items.

Declaration

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

Property Value

IList

Orientation

Gets or sets the orientation of looping.

Declaration

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

Property Value

Orientation

SelectedIndex

Gets or sets the index that is currently selected.

Declaration

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

Property Value

int

SnapOffsetCorrection

Gets or sets a double value that is applied as an offset correction after the selected item has been snapped according to the CenteredItemSnapPosition.

Declaration

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

Property Value

double

VerticalOffset

Gets the currently accumulated vertical offset.

Declaration

cs-api-definition
public double VerticalOffset { get; }

Property Value

double

Methods

AnimateVerticalOffset(Duration, EasingFunctionBase, double)

Applies the desired vertical offset by using an animation, described by the specified duration and easing function.

Declaration

cs-api-definition
public void AnimateVerticalOffset(Duration duration, EasingFunctionBase easing, double offset)

Parameters

duration

Duration

The duration of the animation.

easing

EasingFunctionBase

The easing function.

offset

double

The desired scroll offset.

AnimateVerticalOffset(double)

Animates the vertical offset to the specified value, starting from the current one.

Declaration

cs-api-definition
public void AnimateVerticalOffset(double offset)

Parameters

offset

double

The final value of the animation.

ApplyTemplateCore()

Retrieves the control's template parts.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides RadControl.ApplyTemplateCore()

LoadCore()

Called within the handler of the event. Allows inheritors to provide their specific logic.

Declaration

cs-api-definition
protected override void LoadCore()

Overrides RadControl.LoadCore()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides RadControl.OnCreateAutomationPeer()

OnGotFocus(RoutedEventArgs)

Called before the GotFocus event occurs.

Declaration

cs-api-definition
protected override void OnGotFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

The data for the event.

OnLostFocus(RoutedEventArgs)

Called before the LostFocus event occurs.

Declaration

cs-api-definition
protected override void OnLostFocus(RoutedEventArgs e)

Parameters

e

RoutedEventArgs

The data for the event.

OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)

Called before the ManipulationCompleted event occurs.

Declaration

cs-api-definition
protected override void OnManipulationCompleted(ManipulationCompletedRoutedEventArgs e)

Parameters

e

ManipulationCompletedRoutedEventArgs

OnManipulationDelta(ManipulationDeltaRoutedEventArgs)

Called before the ManipulationDelta event occurs.

Declaration

cs-api-definition
protected override void OnManipulationDelta(ManipulationDeltaRoutedEventArgs e)

Parameters

e

ManipulationDeltaRoutedEventArgs

OnManipulationStarted(ManipulationStartedRoutedEventArgs)

Called before the ManipulationStarted event occurs.

Declaration

cs-api-definition
protected override void OnManipulationStarted(ManipulationStartedRoutedEventArgs e)

Parameters

e

ManipulationStartedRoutedEventArgs

OnPointerPressed(PointerRoutedEventArgs)

Called before the PointerPressed event occurs.

Declaration

cs-api-definition
protected override void OnPointerPressed(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

Event data for the event.

OnPointerReleased(PointerRoutedEventArgs)

Called before the PointerReleased event occurs.

Declaration

cs-api-definition
protected override void OnPointerReleased(PointerRoutedEventArgs e)

Parameters

e

PointerRoutedEventArgs

Event data for the event.

OnTapped(TappedRoutedEventArgs)

Called before the Tapped event occurs.

Declaration

cs-api-definition
protected override void OnTapped(TappedRoutedEventArgs e)

Parameters

e

TappedRoutedEventArgs

OnTemplateApplied()

Occurs when the method has been called and the template is already successfully applied.

Declaration

cs-api-definition
protected override void OnTemplateApplied()

Overrides RadControl.OnTemplateApplied()

Events

IsExpandedChanged

Occurs when the value of the IsExpanded property has changed.

Declaration

cs-api-definition
public event EventHandler IsExpandedChanged

Event Value

EventHandler

SelectedIndexChanged

Notifies for a change in the currently selected index.

Declaration

cs-api-definition
public event EventHandler SelectedIndexChanged

Event Value

EventHandler