UISearchBar.SetScopeBarButtonBackgroundImage(UIImage, UIControlState) 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 UIImage used as the background image for the specified scope bar button and state.
[Foundation.Export("setScopeBarButtonBackgroundImage:forState:")]
public virtual void SetScopeBarButtonBackgroundImage (UIKit.UIImage backgroundImage, UIKit.UIControlState state);
abstract member SetScopeBarButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetScopeBarButtonBackgroundImage : UIKit.UIImage * UIKit.UIControlState -> unit
Parameters
- state
- UIControlState
- Attributes
Remarks
This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.