Class SfNumericTextBox
Namespace: Syncfusion.SfNumericTextBox.iOS
Assembly: Syncfusion.SfNumericTextBox.iOS.dll
Syntax
public class SfNumericTextBox : UITextField
  Constructors
SfNumericTextBox()
Declaration
public SfNumericTextBox()
  SfNumericTextBox(IntPtr)
Initializes a new instance of the SfNumericTextBox class.
Declaration
public SfNumericTextBox(IntPtr handle)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.IntPtr | handle | The Handle  | 
      
Properties
AllowDefaultDecimalDigits
Gets or sets a value indicating whether to allow the default decimal digits while the control is unfocused.
Declaration
public bool AllowDefaultDecimalDigits { get; set; }
  Property Value
| Type | 
|---|
| System.Boolean | 
AllowNull
Gets or sets a value indicating whether null value can be set or not in input field.
Declaration
public bool AllowNull { get; set; }
  Property Value
| Type | 
|---|
| System.Boolean | 
BorderColor
Gets or sets the Border color of the input field.
Declaration
public UIColor BorderColor { get; set; }
  Property Value
| Type | 
|---|
| UIKit.UIColor | 
CultureInfo
Gets or sets the value for a culture to display the value based on it.
Declaration
public NSLocale CultureInfo { get; set; }
  Property Value
| Type | 
|---|
| Foundation.NSLocale | 
EnableGroupSeparator
Gets or sets a value indicating whether to show or hide the separator.
Declaration
public bool EnableGroupSeparator { get; set; }
  Property Value
| Type | 
|---|
| System.Boolean | 
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 value that determines the display format of the text when the control is unfocused.
Declaration
public string FormatString { get; set; }
  Property Value
| Type | 
|---|
| System.String | 
GroupSeparatorMode
Gets or sets the value of GroupSeparatorMode. It is used to change the group separator active mode. By default it is LostFocus.
Declaration
public GroupSeparatorMode GroupSeparatorMode { get; set; }
  Property Value
| Type | 
|---|
| GroupSeparatorMode | 
Maximum
Gets or sets the maximum range of the numeric text box.
Declaration
public object Maximum { get; set; }
  Property Value
| Type | 
|---|
| System.Object | 
MaximumNumberDecimalDigits
Gets or sets the value that determines the maximum number of decimal digits to be allowed.
Declaration
public nint MaximumNumberDecimalDigits { get; set; }
  Property Value
| Type | 
|---|
| System.nint | 
Minimum
Gets or sets the minimum range of the numeric text box.
Declaration
public object Minimum { get; set; }
  Property Value
| Type | 
|---|
| System.Object | 
ParserMode
Gets or sets the value that determines the dataType of Value property.
Declaration
public SFNumericTextBoxParsers ParserMode { get; set; }
  Property Value
| Type | 
|---|
| SFNumericTextBoxParsers | 
PercentDisplayMode
Gets or sets the value that determines the percentage value in the input field.
Declaration
public SFNumericTextBoxPercentDisplayMode PercentDisplayMode { get; set; }
  Property Value
| Type | 
|---|
| SFNumericTextBoxPercentDisplayMode | 
SelectAllOnFocus
Gets or sets a value indicating whether boolean value
Declaration
public bool SelectAllOnFocus { get; set; }
  Property Value
| Type | 
|---|
| System.Boolean | 
Text
Gets or sets the text and symbols.
Declaration
public override string Text { get; set; }
  Property Value
| Type | 
|---|
| System.String | 
Value
Gets or sets the value of the input field.
Declaration
public object Value { get; set; }
  Property Value
| Type | 
|---|
| System.Object | 
ValueChangeMode
Gets or sets the value that determines when the value get change in the input field.
Declaration
public SFNumericTextBoxValueChangeMode ValueChangeMode { get; set; }
  Property Value
| Type | 
|---|
| SFNumericTextBoxValueChangeMode | 
Watermark
Gets or sets the value to display hint text when the input field is empty and unfocused.
Declaration
public string Watermark { get; set; }
  Property Value
| Type | 
|---|
| System.String | 
WatermarkColor
Gets or sets the color of hint text of the input field.
Declaration
public UIColor WatermarkColor { get; set; }
  Property Value
| Type | 
|---|
| UIKit.UIColor | 
Methods
add_FocusChanged(SfNumericTextBox.FocusChangedEventHandler)
Declaration
public void add_FocusChanged(SfNumericTextBox.FocusChangedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SfNumericTextBox.FocusChangedEventHandler | value | 
add_ValueChanged(SfNumericTextBox.ValueEventHandler)
Declaration
public void add_ValueChanged(SfNumericTextBox.ValueEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SfNumericTextBox.ValueEventHandler | value | 
AwakeFromNib()
The method overrides the AwakeFromNib
Declaration
public override void AwakeFromNib()
  Cut(NSObject)
Cut the specified sender.
Declaration
public override void Cut(NSObject sender)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Foundation.NSObject | sender | the cut operation NSObject data type.  | 
      
Dispose(Boolean)
To dispose the objects.
Declaration
protected override void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | To get dispose.  | 
      
EditingRect(CGRect)
Its is a override method
Declaration
public override CGRect EditingRect(CGRect forBounds)
  Parameters
| Type | Name | Description | 
|---|---|---|
| CoreGraphics.CGRect | forBounds | The Bound value  | 
      
Returns
| Type | Description | 
|---|---|
| CoreGraphics.CGRect | Its return value  | 
      
remove_FocusChanged(SfNumericTextBox.FocusChangedEventHandler)
Declaration
public void remove_FocusChanged(SfNumericTextBox.FocusChangedEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SfNumericTextBox.FocusChangedEventHandler | value | 
remove_ValueChanged(SfNumericTextBox.ValueEventHandler)
Declaration
public void remove_ValueChanged(SfNumericTextBox.ValueEventHandler value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| SfNumericTextBox.ValueEventHandler | value | 
TextRect(CGRect)
Its is a override method.
Declaration
public override CGRect TextRect(CGRect forBounds)
  Parameters
| Type | Name | Description | 
|---|---|---|
| CoreGraphics.CGRect | forBounds | The value name is bound.  | 
      
Returns
| Type | Description | 
|---|---|
| CoreGraphics.CGRect | Its return value.  | 
      
WillMoveToWindow(UIWindow)
Declaration
public override void WillMoveToWindow(UIWindow window)
  Parameters
| Type | Name | Description | 
|---|---|---|
| UIKit.UIWindow | window | 
Events
FocusChanged
Occurs when focus changed.
Declaration
public event SfNumericTextBox.FocusChangedEventHandler FocusChanged
  Event Type
| Type | 
|---|
| SfNumericTextBox.FocusChangedEventHandler | 
ReturnkeyPressed
s It is a event
Declaration
public event EventHandler<EventArgs> ReturnkeyPressed
  Event Type
| Type | 
|---|
| System.EventHandler<System.EventArgs> | 
ReturnKeyPressed
Declaration
public event EventHandler<EventArgs> ReturnKeyPressed
  Event Type
| Type | 
|---|
| System.EventHandler<System.EventArgs> | 
ValueChanged
Occurs when value changed.
Declaration
public event SfNumericTextBox.ValueEventHandler ValueChanged
  Event Type
| Type | 
|---|
| SfNumericTextBox.ValueEventHandler |