Edytuj

Udostępnij za pośrednictwem


UIToolbar.SetShadowImage(UIImage, UIToolbarPosition) Method

Definition

Specifies the image to be used as a shadow for this UIToolbar.

[Foundation.Export("setShadowImage:forToolbarPosition:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetShadowImage (UIKit.UIImage shadowImage, UIKit.UIToolbarPosition topOrBottom);
abstract member SetShadowImage : UIKit.UIImage * UIKit.UIToolbarPosition -> unit
override this.SetShadowImage : UIKit.UIImage * UIKit.UIToolbarPosition -> unit

Parameters

shadowImage
UIImage

To be added.

This parameter can be null.

topOrBottom
UIToolbarPosition

Defines whether this toolbar is being created at the top or bottom.

Attributes

Remarks

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

Applies to