UISearchBar.UISearchBarAppearance.SetImageforSearchBarIcon 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.
Sets the image to be used for the specified UISearchBarIcon type and UIControlState.
[Foundation.Export("setImage:forSearchBarIcon:state:")]
public virtual void SetImageforSearchBarIcon (UIKit.UIImage iconImage, UIKit.UISearchBarIcon icon, UIKit.UIControlState state);
abstract member SetImageforSearchBarIcon : UIKit.UIImage * UIKit.UISearchBarIcon * UIKit.UIControlState -> unit
override this.SetImageforSearchBarIcon : UIKit.UIImage * UIKit.UISearchBarIcon * UIKit.UIControlState -> unit
Parameters
- iconImage
- UIImage
- icon
- UISearchBarIcon
- state
- UIControlState
- Attributes