Class Picker

    Definition

    Namespace:
    Tizen.NUI.Components
    Assembly:
    Tizen.NUI.Components.dll

    Picker is a class which provides a function that allows the user to select a value through a scrolling motion by expressing the specified value as a list. It is recommended to use when selecting less than 100 selections.

    public class Picker : Control, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    ViewWrapper
    CustomView
    VisualView
    Tizen.NUI.Components.Control
    Picker
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable

    Constructors

    View Source

    Picker()

    Creates a new instance of Picker.

    Declaration
    public Picker()
    View Source

    Picker(string)

    Creates a new instance of Picker.

    Declaration
    public Picker(string style)
    Parameters
    Type Name Description
    string style

    Creates Picker by special style defined in UX.

    View Source

    Picker(PickerStyle)

    Creates a new instance of Picker.

    Declaration
    public Picker(PickerStyle pickerStyle)
    Parameters
    Type Name Description
    Tizen.NUI.Components.PickerStyle pickerStyle

    Creates Picker by style customized by user.

    Properties

    View Source

    CurrentValue

    The Current value of Picker.

    Declaration
    public int CurrentValue { get; set; }
    Property Value
    Type Description
    int
    View Source

    DisplayedValues

    The values to be displayed instead of numbers.

    Declaration
    public ReadOnlyCollection<string> DisplayedValues { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<T><string>
    View Source

    MaxValue

    The max value of Picker.

    Declaration
    public int MaxValue { get; set; }
    Property Value
    Type Description
    int
    View Source

    MinValue

    The min value of Picker.

    Declaration
    public int MinValue { get; set; }
    Property Value
    Type Description
    int

    Events

    View Source

    ValueChanged

    An event emitted when Picker value changed, user can subscribe or unsubscribe to this event handler.

    Declaration
    public event EventHandler<ValueChangedEventArgs> ValueChanged
    Event Type
    Type Description
    System.EventHandler<TEventArgs><ValueChangedEventArgs>

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX