menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LoopingSelectorItem - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LoopingSelectorItem

    LoopingSelectorItem is a Windows.UI.Xaml.Controls.ContentControl. It is a selectable item inside the LoopingSelector.

    Inheritance
    System.Object
    LoopingSelectorItem
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Controls
    Assembly: Syncfusion.SfShared.UWP.dll
    Syntax
    [ClassReference(IsReviewed = false)]
    public class LoopingSelectorItem : ContentControl, IDisposable

    Constructors

    LoopingSelectorItem()

    Initializes a new instance of the LoopingSelectorItem class.

    Declaration
    [ClassReference(IsReviewed = false)]
    public LoopingSelectorItem()

    Fields

    _state

    Declares a variable for LoopingSelectorItem.State

    Declaration
    public LoopingSelectorItem.State _state
    Field Value
    Type
    LoopingSelectorItem.State

    AccentBrushProperty

    Using a DependencyProperty as the backing store for AccentBrush. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty AccentBrushProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    SelectedForegroundProperty

    Using a DependencyProperty as the backing store for AccentBrush. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty SelectedForegroundProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    AccentBrush

    Gets or sets the brush that is applied as the background of the item.

    Declaration
    public Brush AccentBrush { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.Brush

    SelectedForeground

    Gets or sets the brush that is applied as the background of the item.

    Declaration
    public Brush SelectedForeground { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.Brush

    Methods

    Dispose()

    Disposes the control while unloading

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes the control while unloading

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnApplyTemplate()

    Initializes all the child elements of LoopingSelectorItem control.

    Declaration
    protected override void OnApplyTemplate()

    SetState(LoopingSelectorItem.State, Boolean)

    Sets the state LoopingSelectorItem.State

    Declaration
    public void SetState(LoopingSelectorItem.State newState, bool useTransitions)
    Parameters
    Type Name Description
    LoopingSelectorItem.State newState

    new state

    System.Boolean useTransitions

    indicates need to use transitions or not

    Events

    Click

    The Click event. This is needed because there is no gesture for touch-down, pause longer than the Hold time, and touch-up. Tap will not be raise, and Hold is not adequate.

    Declaration
    [ClassReference(IsReviewed = false)]
    public event EventHandler<EventArgs> Click
    Event Type
    Type
    System.EventHandler<System.EventArgs>

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved