UISearchBar.SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics) 메서드

정의

지정된 위치 및 메트릭의 배경에 사용되는 UIImage를 설정합니다.

[Foundation.Export("setBackgroundImage:forBarPosition:barMetrics:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetBackgroundImage (UIKit.UIImage backgroundImage, UIKit.UIBarPosition barPosition, UIKit.UIBarMetrics barMetrics);
abstract member SetBackgroundImage : UIKit.UIImage * UIKit.UIBarPosition * UIKit.UIBarMetrics -> unit
override this.SetBackgroundImage : UIKit.UIImage * UIKit.UIBarPosition * UIKit.UIBarMetrics -> unit

매개 변수

backgroundImage
UIImage

추가될 예정입니다.

이 매개 변수는 null일 수 있습니다.

barPosition
UIBarPosition
barMetrics
UIBarMetrics
특성

설명

이 멤버는 UIAppearance 스타일 지정 시스템에 참여합니다. Appearance 속성 및 메서드를 AppearanceWhenContainedIn(Type[]) 참조하세요.

적용 대상