Edit

Share via


UINavigationBar.BarStyle Property

Definition

The visual style of the navigation bar.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIBarStyle BarStyle { [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("barStyle", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setBarStyle:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.BarStyle : UIKit.UIBarStyle with get, set

Property Value

The default value is Default.

Attributes

Remarks

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

Applies to