UINavigationBar.Translucent Property
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.
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.