UIKit.UISearchBar.SetImageforSearchBarIcon Method
Sets the icon for the specified search bar icon type and control state.

Syntax

[Foundation.Export("setImage:forSearchBarIcon:state:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void SetImageforSearchBarIcon (UIImage iconImage, UISearchBarIcon icon, UIControlState state)

Parameters

iconImage
Documentation for this section has not yet been entered.
icon
Documentation for this section has not yet been entered.
state
Documentation for this section has not yet been entered.

Remarks

This member participates in the UIKit.UIAppearance styling system. See the UISearchBar.Appearance property and the UISearchBar.AppearanceWhenContainedIn method.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0