Class Picker

Definition

Namespace:
Tizen.NUI.Components
Assembly:
Tizen.NUI.Components.dll
API Level:
9

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.

C#
Copy
public class Picker : Control, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable, IResourcesProvider
Inheritance
System.Object
Tizen.NUI.Binding.Element
Tizen.NUI.Components.Control
Picker
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

Picker()

Creates a new instance of Picker.

Declaration
C#
Copy
public Picker()
API Level: 9
View Source

Picker(String)

Creates a new instance of Picker.

Declaration
C#
Copy
public Picker(string style)
Parameters
Type Name Description
System.String style

Creates Picker by special style defined in UX.

API Level: 9
View Source

Picker(PickerStyle)

Creates a new instance of Picker.

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

Creates Picker by style customized by user.

API Level: 9

Properties

View Source

CurrentValue

The Current value of Picker.

Declaration
C#
Copy
public int CurrentValue { get; set; }
Property Value
Type Description
Int32
API Level: 9
View Source

DisplayedValues

The values to be displayed instead of numbers.

Declaration
C#
Copy
public ReadOnlyCollection<string> DisplayedValues { get; set; }
Property Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<System.String>
API Level: 9
View Source

MaxValue

The max value of Picker.

Declaration
C#
Copy
public int MaxValue { get; set; }
Property Value
Type Description
Int32
API Level: 9
View Source

MinValue

The min value of Picker.

Declaration
C#
Copy
public int MinValue { get; set; }
Property Value
Type Description
Int32
API Level: 9

Events

View Source

ValueChanged

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

Declaration
C#
Copy
public event EventHandler<ValueChangedEventArgs> ValueChanged
Event Type
Type Description
System.EventHandler<ValueChangedEventArgs>
API Level: 9

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable