ClassRadLoopingList
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:
public class RadLoopingList : RadControl
Inheritance: objectRadControlRadLoopingList
Derived Classes:
Inherited Members
Constructors
RadLoopingList()
Initializes a new instance of the RadLoopingList class.
Declaration
public RadLoopingList()
Fields
CenteredItemSnapPositionProperty
Defines the CenteredItemSnapPosition dependency property.
Declaration
public static readonly DependencyProperty CenteredItemSnapPositionProperty
Field Value
DependencyProperty
IsCenteredProperty
Defines the IsCentered property.
Declaration
public static readonly DependencyProperty IsCenteredProperty
Field Value
DependencyProperty
IsExpandedProperty
Defines the IsExpanded property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
DependencyProperty
IsLoopingEnabledProperty
Defines the IsLoopingEnabled property.
Declaration
public static readonly DependencyProperty IsLoopingEnabledProperty
Field Value
DependencyProperty
ItemHeightProperty
Defines the ItemHeight property.
Declaration
public static readonly DependencyProperty ItemHeightProperty
Field Value
DependencyProperty
ItemSpacingProperty
Defines the ItemSpacing property.
Declaration
public static readonly DependencyProperty ItemSpacingProperty
Field Value
DependencyProperty
ItemStyleProperty
Defines the ItemStyle property.
Declaration
public static readonly DependencyProperty ItemStyleProperty
Field Value
DependencyProperty
ItemTemplateProperty
Defines the ItemTemplate property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
DependencyProperty
ItemTemplateSelectorProperty
Identifies the SpecialDayTemplateSelector dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateSelectorProperty
Field Value
DependencyProperty
ItemWidthProperty
Defines the ItemWidth property.
Declaration
public static readonly DependencyProperty ItemWidthProperty
Field Value
DependencyProperty
ItemsSourceProperty
Defines the ItemsSource property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
DependencyProperty
OrientationProperty
Defines the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
DependencyProperty
SelectedIndexProperty
Defines the SelectedIndex property.
Declaration
public static readonly DependencyProperty SelectedIndexProperty
Field Value
DependencyProperty
SnapOffsetCorrectionProperty
Defines SnapOffsetCorrection dependency property.
Declaration
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
public LoopingListItemSnapPosition CenteredItemSnapPosition { get; set; }
Property Value
FirstRealizedIndex
Gets the first logical index that is realized within the hosted LoopingPanel.
IsCentered
Gets or sets a value indicating whether the list will vertically center the currently selected item.
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.
IsInitialized
Gets a value indicating whether the list is loaded and has its template applied.
IsLoopingEnabled
Gets or sets a value indicating whether looping is enabled. That is to allow infinite scrolling of the current logical wheel.
ItemHeight
Gets or sets the height of a single item within the hosted RadLoopingList panel.
ItemSpacing
Gets or sets the spacing among visual items within the hosted LoopingPanel instance.
ItemStyle
Gets or sets the Style to be applied to each visual item present within the selector.
Declaration
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
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
public DataTemplateSelector ItemTemplateSelector { get; set; }
Property Value
DataTemplateSelector
ItemWidth
Gets or sets the width of a single item within the hosted RadLoopingList panel.
ItemsSource
Gets or sets the ItemsSource used as a DataContext of the looping list items.
Orientation
Gets or sets the orientation of looping.
Declaration
public Orientation Orientation { get; set; }
Property Value
Orientation
SelectedIndex
Gets or sets the index that is currently selected.
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
public double SnapOffsetCorrection { get; set; }
Property Value
VerticalOffset
Gets the currently accumulated vertical offset.
Methods
AnimateVerticalOffset(Duration, EasingFunctionBase, double)
Applies the desired vertical offset by using an animation, described by the specified duration and easing function.
Declaration
public void AnimateVerticalOffset(Duration duration, EasingFunctionBase easing, double offset)
Parameters
duration
Duration
The duration of the animation.
easing
EasingFunctionBase
The easing function.
offset
The desired scroll offset.
AnimateVerticalOffset(double)
Animates the vertical offset to the specified value, starting from the current one.
Declaration
public void AnimateVerticalOffset(double offset)
Parameters
offset
The final value of the animation.
ApplyTemplateCore()
Retrieves the control's template parts.
LoadCore()
Called within the handler of the event. Allows inheritors to provide their specific logic.
Declaration
protected override void LoadCore()
Overrides
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnGotFocus(RoutedEventArgs)
Called before the GotFocus event occurs.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The data for the event.
OnLostFocus(RoutedEventArgs)
Called before the LostFocus event occurs.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgs
The data for the event.
OnManipulationCompleted(ManipulationCompletedRoutedEventArgs)
Called before the ManipulationCompleted event occurs.
Declaration
protected override void OnManipulationCompleted(ManipulationCompletedRoutedEventArgs e)
Parameters
e
ManipulationCompletedRoutedEventArgs
OnManipulationDelta(ManipulationDeltaRoutedEventArgs)
Called before the ManipulationDelta event occurs.
Declaration
protected override void OnManipulationDelta(ManipulationDeltaRoutedEventArgs e)
Parameters
e
ManipulationDeltaRoutedEventArgs
OnManipulationStarted(ManipulationStartedRoutedEventArgs)
Called before the ManipulationStarted event occurs.
Declaration
protected override void OnManipulationStarted(ManipulationStartedRoutedEventArgs e)
Parameters
e
ManipulationStartedRoutedEventArgs
OnPointerPressed(PointerRoutedEventArgs)
Called before the PointerPressed event occurs.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
Event data for the event.
OnPointerReleased(PointerRoutedEventArgs)
Called before the PointerReleased event occurs.
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
Event data for the event.
OnTapped(TappedRoutedEventArgs)
Called before the Tapped event occurs.
Declaration
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
protected override void OnTemplateApplied()
Overrides
Events
IsExpandedChanged
Occurs when the value of the IsExpanded property has changed.
SelectedIndexChanged
Notifies for a change in the currently selected index.
Declaration
public event EventHandler SelectedIndexChanged
Event Value