Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Images
Resources/Images.xcassets/LaunchImage.launchimage
AppDelegate.cs reorganizing files into recipes folder Mar 7, 2018
Info.plist
Main.cs
NavBarTrans.csproj
NavBarTrans.sln
NavBarViewController.cs
README.md

README.md

id title brief sdk
D94E6E1C-A6AF-F274-5468-2ED601AC6FA1
Change the Nav Bar Transparency
This recipe shows how to change the transparency of the navigation bar.

Recipe

To make the navigation bar transparent, set the Translucent property of the UINavigationBar:

this.NavigationController.NavigationBar.Translucent = true;

To return it to the default, set the property to false:

this.NavigationController.NavigationBar.Translucent = false;

Additional Information

When the navigation bar is transparent, content in the underlying view can be seen beneath it. This means the visible content area expands to include the area ‘underneath’ the navigation bar.

The navigation bar does not allow you to interact with the controls underneath, so avoid placing buttons or other input controls completely beneath it.