Düzenle

Aracılığıyla paylaş


UISearchBar.GetImageForSearchBarIcon(UISearchBarIcon, UIControlState) Method

Definition

The UIImage used for the specified search bar icon type and control state.

[Foundation.Export("imageForSearchBarIcon:state:")]
public virtual UIKit.UIImage GetImageForSearchBarIcon (UIKit.UISearchBarIcon icon, UIKit.UIControlState state);
abstract member GetImageForSearchBarIcon : UIKit.UISearchBarIcon * UIKit.UIControlState -> UIKit.UIImage
override this.GetImageForSearchBarIcon : UIKit.UISearchBarIcon * UIKit.UIControlState -> UIKit.UIImage

Parameters

Returns

Attributes

Remarks

This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.

Applies to