UISearchBarDelegate.ShouldChangeTextInRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether text in a specified range should be replaced with the given text.
[Foundation.Export("searchBar:shouldChangeTextInRange:replacementText:")]
public virtual bool ShouldChangeTextInRange (UIKit.UISearchBar searchBar, Foundation.NSRange range, string text);
abstract member ShouldChangeTextInRange : UIKit.UISearchBar * Foundation.NSRange * string -> bool
override this.ShouldChangeTextInRange : UIKit.UISearchBar * Foundation.NSRange * string -> bool
Parameters
- searchBar
- UISearchBar
- range
- NSRange
- text
- String
Returns
- Attributes