How to handle the events of numeric text box in Xamarin.iOS application?
From Volume 2 2017 release, SFNumericTextBoxDelegate property has been removed and find their corresponding release notes as follows.
To handle the value changes in SfNumericTextBox, use the ValueChanged event instead of delegates as shown in the following code snippet.
[C#]
public partial class ViewController : UIViewController
{
…
public override void ViewDidLoad()
{
base.ViewDidLoad();
…
SfNumericTextBox numericTextBox = new SfNumericTextBox();
numericTextBox.Frame = new CoreGraphics.CGRect(10, 50, 200, 50);
…
numericTextBox.ValueChanged += (sender, e) =>
{
// do your desired action while changing the value of numeric text box
};
…
this.View.AddSubview(numericTextBox);
}
…
}
See Also
How to format the numeric text box value
How to restrict the value limit in numeric text box
How to allow null value in Xamarin.iOS numeric text box