Edit

Share via


UINavigationBar.Translucent Property

Definition

Whether the bar is translucent or not.

public virtual bool Translucent { [Foundation.Export("isTranslucent")] get; [Foundation.Export("setTranslucent:")] set; }
member this.Translucent : bool with get, set

Property Value

The default value is true.

Attributes

Remarks

If a custom background image has been set with SetBackgroundImage(UIImage, UIBarPosition, UIBarMetrics) and any pixel in that image has an alpha value less than 1.0, this will be true.

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

Applies to