WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LoopingSelector - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LoopingSelector

    LoopingSelector is a Windows.UI.Xaml.Controls.Control, that allow the user to select the items based the the Syncfusion.UI.Xaml.Controls.State. It is touch friendly and resembles the Windows phone looping selector.

    Inheritance
    System.Object
    LoopingSelector
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Controls
    Assembly: Syncfusion.SfInput.Wpf.dll
    Syntax
    public class LoopingSelector : Control, IDisposable

    Constructors

    LoopingSelector()

    Initializes a new instance of the Syncfusion.UI.Xaml.Controls.LoopingSelector class.

    Declaration
    public LoopingSelector()

    Fields

    _state

    Represents a variable for the Syncfusion.UI.Xaml.Controls.State

    Declaration
    public State _state
    Field Value
    Type Description
    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 Description
    System.Windows.DependencyProperty

    DataSourceProperty

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

    Declaration
    public static readonly DependencyProperty DataSourceProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsExpandedProperty

    The IsExpanded DependencyProperty.

    Declaration
    public static readonly DependencyProperty IsExpandedProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemContainerStyleProperty

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

    Declaration
    public static readonly DependencyProperty ItemContainerStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemHeightProperty

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

    Declaration
    public static readonly DependencyProperty ItemHeightProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemMarginProperty

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

    Declaration
    public static readonly DependencyProperty ItemMarginProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemTemplateProperty

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

    Declaration
    public static readonly DependencyProperty ItemTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemTemplateSelectorProperty

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

    Declaration
    public static readonly DependencyProperty ItemTemplateSelectorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ItemWidthProperty

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

    Declaration
    public static readonly DependencyProperty ItemWidthProperty
    Field Value
    Type Description
    System.Windows.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 Description
    System.Windows.DependencyProperty

    Properties

    AccentBrush

    Gets or sets the background for the Syncfusion.UI.Xaml.Controls.LoopingSelector.

    Declaration
    public Brush AccentBrush { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The default value is null.

    DataSource

    Gets or sets the data source that the control is displaying data for.

    Declaration
    public ILoopingSelectorDataSource DataSource { get; set; }
    Property Value
    Type Description
    ILoopingSelectorDataSource

    The default value is null.

    IsExpanded

    Gets or sets a value indicating whether this instance the looping selector is expanded .

    Declaration
    public bool IsExpanded { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the looping selector is open; otherwise, false.

    ItemContainerStyle

    Gets or sets the style that is applied to the container element generated for each item.

    Declaration
    public Style ItemContainerStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    The default value is null.

    ItemHeight

    Gets or sets the height of the items.

    Declaration
    public double ItemHeight { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is zero.

    See Also
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemMargin
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemTemplate
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemWidth

    ItemMargin

    Gets or sets margin around the items, to be a part of the touchable area.

    Declaration
    public Thickness ItemMargin { get; set; }
    Property Value
    Type Description
    System.Windows.Thickness

    The default value is null.

    See Also
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemHeight
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemWidth
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemTemplate

    ItemTemplate

    Gets or sets the Windows.UI.Xaml.Controls.DataTemplate used to display each item.

    Declaration
    public DataTemplate ItemTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The default value is null.

    See Also
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemHeight
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemMargin
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemWidth

    ItemTemplateSelector

    Gets or sets the Template selector for the item

    Declaration
    public DataTemplateSelector ItemTemplateSelector { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.DataTemplateSelector

    ItemWidth

    Gets or sets the width of the items.

    Declaration
    public double ItemWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is zero.

    See Also
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemHeight
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemMargin
    Syncfusion.UI.Xaml.Controls.LoopingSelector.ItemTemplate

    SelectedForeground

    Gets or sets the background for Syncfusion.UI.Xaml.Controls.Input.LoopingSelector.

    Declaration
    public Brush SelectedForeground { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Brush

    The default value is null.

    See Also
    Syncfusion.UI.Xaml.Controls.Input.LoopingSelector

    State

    Gets the state

    Declaration
    public State State { get; }
    Property Value
    Type Description
    State

    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 Syncfusion.UI.Xaml.Controls.LoopingSelector control.

    Declaration
    public override void OnApplyTemplate()

    UpdateItemTemplate()

    Updates the template for the item

    Declaration
    public void UpdateItemTemplate()

    Events

    IsExpandedChanged

    Occurs when the Syncfusion.UI.Xaml.Controls.LoopingSelector.IsExpanded is changed.

    Declaration
    public event DependencyPropertyChangedEventHandler IsExpandedChanged
    Event Type
    Type Description
    System.Windows.DependencyPropertyChangedEventHandler

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved