Class SfNumericUpDown
Namespace: Syncfusion.SfNumericUpDown.iOS
Assembly: Syncfusion.SfNumericUpDown.iOS.dll
Syntax
public class SfNumericUpDown : UIView
Constructors
SfNumericUpDown()
Declaration
public SfNumericUpDown()
SfNumericUpDown(IntPtr)
Initializes a new instance of the SfNumericUpDown class.
Declaration
public SfNumericUpDown(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | handle | The Handle |
Properties
AllowNull
Gets or sets a value indicating whether this Syncfusion.SfNumericUpDown.IOS.SfNumericUpDown allow null.
Declaration
public bool AllowNull { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
AutoReverse
Gets or sets a value indicating whether this SfNumericUpDown auto reverse.
Declaration
public bool AutoReverse { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
BorderColor
Gets or sets the color of the border.
Declaration
public UIColor BorderColor { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | The color of the border. |
Culture
Gets or sets the culture.
Declaration
public NSLocale Culture { get; set; }
Property Value
Type | Description |
---|---|
Foundation.NSLocale | The culture. |
CultureInfo
Gets or sets the culture info.
Declaration
public NSLocale CultureInfo { get; set; }
Property Value
Type | Description |
---|---|
Foundation.NSLocale | The culture info. |
CustomView
Gets or sets the custom view.
Declaration
public UIView CustomView { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIView | The custom view. |
DecrementButtonSettings
Gets or sets the decrement button settings.
Declaration
public UpDownButtonSettings DecrementButtonSettings { get; set; }
Property Value
Type | Description |
---|---|
UpDownButtonSettings | The decrement button settings. |
DecrementButtonView
Gets or sets the decrement button view.
Declaration
public UIView DecrementButtonView { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIView | The decrement button view. |
EnableGroupSeparator
Gets or sets a value indicating whether this SfNumericUpDown enable group separator.
Declaration
public bool EnableGroupSeparator { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Font
Gets or sets the font.
Declaration
public UIFont Font { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIFont | The font. |
FontSize
Gets or sets the size of the font.
Declaration
public nfloat FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.nfloat | The size of the font. |
FormatString
Gets or sets the format string.
Declaration
public string FormatString { get; set; }
Property Value
Type | Description |
---|---|
System.String | The format string. |
Frame
Gets or sets the frame.
Declaration
public override CGRect Frame { get; set; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGRect | The frame. |
IncrementButtonSettings
Gets or sets the increment button settings.
Declaration
public UpDownButtonSettings IncrementButtonSettings { get; set; }
Property Value
Type | Description |
---|---|
UpDownButtonSettings | The increment button settings. |
IncrementButtonView
Gets or sets the increment button view.
Declaration
public UIView IncrementButtonView { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIView | The increment button view. |
IsEditable
Gets or sets a value indicating whether this SfNumericUpDown is editable.
Declaration
public bool IsEditable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsEnabled
Gets or sets a value indicating whether this SfNumericUpDown is enabled.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Maximum
Gets or sets the maximum.
Declaration
public nfloat Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.nfloat | The maximum. |
MaximumDecimalDigits
Gets or sets the maximum decimal digits.
Declaration
public nint MaximumDecimalDigits { get; set; }
Property Value
Type | Description |
---|---|
System.nint | The maximum decimal digits. |
Minimum
Gets or sets the minimum.
Declaration
public nfloat Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.nfloat | The minimum. |
ParsingMode
Gets or sets the parsing mode.
Declaration
public SFNumericUpDownParsingMode ParsingMode { get; set; }
Property Value
Type | Description |
---|---|
SFNumericUpDownParsingMode | The parsing mode. |
PercentDisplayMode
Gets or sets the percent display mode.
Declaration
public SFNumericUpDownPercentDisplayMode PercentDisplayMode { get; set; }
Property Value
Type | Description |
---|---|
SFNumericUpDownPercentDisplayMode | The percent display mode. |
SelectAllOnFocus
Gets or sets a value indicating whether SelectAllOnFocus property is true or false.
Declaration
public bool SelectAllOnFocus { get; set; }
Property Value
Type |
---|
System.Boolean |
SpinButtonAlignment
Gets or sets the spin button alignment.
Declaration
public SFNumericUpDownSpinButtonAlignment SpinButtonAlignment { get; set; }
Property Value
Type | Description |
---|---|
SFNumericUpDownSpinButtonAlignment | The spin button alignment. |
SpinValidation
Gets or sets the SpinValidation mode.
Declaration
public SFNumericUpDownSpinValidation SpinValidation { get; set; }
Property Value
Type | Description |
---|---|
SFNumericUpDownSpinValidation | The SpinValidation mode. |
StepValue
Gets or sets the step value.
Declaration
public nfloat StepValue { get; set; }
Property Value
Type | Description |
---|---|
System.nfloat | The step value. |
TextAlignment
Gets or sets the text alignment.
Declaration
public UITextAlignment TextAlignment { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UITextAlignment | The text alignment. |
TextColor
Gets or sets the color of the text.
Declaration
public UIColor TextColor { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | The color of the text. |
UpdownButtonColor
Gets or sets the color of the updown button.
Declaration
public UIColor UpdownButtonColor { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | The color of the updown button. |
Value
Gets or sets the value.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value. |
ValueChangeMode
Gets or sets the value change mode.
Declaration
public SFNumericUpDownValueChangeMode ValueChangeMode { get; set; }
Property Value
Type | Description |
---|---|
SFNumericUpDownValueChangeMode | The value change mode. |
Watermark
Gets or sets the watermark.
Declaration
public NSString Watermark { get; set; }
Property Value
Type | Description |
---|---|
Foundation.NSString | The watermark. |
WatermarkColor
Gets or sets the color of the watermark.
Declaration
public UIColor WatermarkColor { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | The color of the watermark. |
Methods
add_FocusChanged(SfNumericUpDown.FocusChangedEventHandler)
Declaration
public void add_FocusChanged(SfNumericUpDown.FocusChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNumericUpDown.FocusChangedEventHandler | value |
add_ReturnkeyPressed(SfNumericUpDown.ReturnkeyPressedEventHandler)
Declaration
public void add_ReturnkeyPressed(SfNumericUpDown.ReturnkeyPressedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNumericUpDown.ReturnkeyPressedEventHandler | value |
add_ReturnKeyPressed(SfNumericUpDown.ReturnkeyPressedEventHandler)
Declaration
public void add_ReturnKeyPressed(SfNumericUpDown.ReturnkeyPressedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNumericUpDown.ReturnkeyPressedEventHandler | value |
add_ValueChanged(SfNumericUpDown.ValueEventHandler)
Declaration
public void add_ValueChanged(SfNumericUpDown.ValueEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNumericUpDown.ValueEventHandler | value |
AwakeFromNib()
The method overrides the AwakeFromNib
Declaration
public override void AwakeFromNib()
Dispose(Boolean)
Releases the resources used by the UIView object.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | If set to true, the method is invoked directly and will dispose manage and unmanaged resources; If set to false the method is being called by the garbage collector finalizer and should only release unmanaged resources. |
LayoutSubviews()
Layouts the subviews.
Declaration
public override void LayoutSubviews()
remove_FocusChanged(SfNumericUpDown.FocusChangedEventHandler)
Declaration
public void remove_FocusChanged(SfNumericUpDown.FocusChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNumericUpDown.FocusChangedEventHandler | value |
remove_ReturnkeyPressed(SfNumericUpDown.ReturnkeyPressedEventHandler)
Declaration
public void remove_ReturnkeyPressed(SfNumericUpDown.ReturnkeyPressedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNumericUpDown.ReturnkeyPressedEventHandler | value |
remove_ReturnKeyPressed(SfNumericUpDown.ReturnkeyPressedEventHandler)
Declaration
public void remove_ReturnKeyPressed(SfNumericUpDown.ReturnkeyPressedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNumericUpDown.ReturnkeyPressedEventHandler | value |
remove_ValueChanged(SfNumericUpDown.ValueEventHandler)
Declaration
public void remove_ValueChanged(SfNumericUpDown.ValueEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNumericUpDown.ValueEventHandler | value |
Events
FocusChanged
Occurs when focus changed.
Declaration
public event SfNumericUpDown.FocusChangedEventHandler FocusChanged
Event Type
Type |
---|
SfNumericUpDown.FocusChangedEventHandler |
ReturnkeyPressed
Occurs when returnkey pressed.
Declaration
public event SfNumericUpDown.ReturnkeyPressedEventHandler ReturnkeyPressed
Event Type
Type |
---|
SfNumericUpDown.ReturnkeyPressedEventHandler |
ReturnKeyPressed
Declaration
public event SfNumericUpDown.ReturnkeyPressedEventHandler ReturnKeyPressed
Event Type
Type |
---|
SfNumericUpDown.ReturnkeyPressedEventHandler |
ValueChanged
Occurs when value changed.
Declaration
public event SfNumericUpDown.ValueEventHandler ValueChanged
Event Type
Type |
---|
SfNumericUpDown.ValueEventHandler |
ValueChanging
Occurs whenever the numeric up down’s value is changing through a spin button click or editing the value in the editor.
Declaration
public event EventHandler<ValueChangingEventArgs> ValueChanging
Event Type
Type |
---|
System.EventHandler<ValueChangingEventArgs> |