Show / Hide Table of Contents

Class ISN_UIWheelPickerController

Object that create and control WheelPicker for iOS. In this controller we need to set data that UIPickerView should show and add listeners, that will be called when user will choose some option or Done/Cancel picking process.

Inheritance
System.Object
ISN_UIWheelPickerController
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.UIKit
Assembly: cs.temp.dll.dll
Syntax
public class ISN_UIWheelPickerController

Constructors

ISN_UIWheelPickerController(List<String>, Int32)

Here we cate instance of UIWheelPicker controller.

Declaration
public ISN_UIWheelPickerController(List<string> values, int defaultValueIndex = 0)
Parameters
Type Name Description
List<System.String> values

It's list of elements that should be shown in UIWheelPicker

System.Int32 defaultValueIndex

Default value index.

Properties

DefaultValueIndex

Default value index. 0 by default.

Declaration
public int DefaultValueIndex { get; }
Property Value
Type Description
System.Int32

Values

Picker values.

Declaration
public List<string> Values { get; }
Property Value
Type Description
List<System.String>

Methods

Show(Action<ISN_UIWheelPickerResult>)

Show UIWheelPicker.

Declaration
public void Show(Action<ISN_UIWheelPickerResult> callback)
Parameters
Type Name Description
Action<ISN_UIWheelPickerResult> callback

This is callback that will be called from UiWheelPicker when user will change it state or done/cancel option. It shouldn't be null.

In This Article
Back to top Generated by DocFX