WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LoopingSelectorItem - WPF 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 Syncfusion.UI.Xaml.Controls.LoopingSelector.

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

    Constructors

    LoopingSelectorItem()

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

    Declaration
    public LoopingSelectorItem()

    Fields

    _state

    Declares a variable for Syncfusion.UI.Xaml.Controls.LoopingSelectorItem.State

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

    AlternativeBackgroundProperty

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

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

    AlternativeBorderBrushProperty

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

    Declaration
    public static readonly DependencyProperty AlternativeBorderBrushProperty
    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

    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 brush that is applied as the background of the item.

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

    AlternativeBackground

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

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

    AlternativeBorderBrush

    Gets or sets the brush that is applied as the Border.

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

    ItemTemplate

    Gets or sets the ItemTemplate.

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

    ItemTemplateSelector

    Gets or sets the ItemTemplateSelector.

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

    SelectedForeground

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

    Declaration
    public Brush SelectedForeground { get; set; }
    Property Value
    Type Description
    System.Windows.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 Syncfusion.UI.Xaml.Controls.LoopingSelectorItem control.

    Declaration
    public override void OnApplyTemplate()

    SetState(LoopingSelectorItem.State, Boolean)

    Sets the state Syncfusion.UI.Xaml.Controls.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
    public event EventHandler<EventArgs> Click
    Event Type
    Type Description
    System.EventHandler<System.EventArgs>

    Implements

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