UpdateBounds();
+
#if WINDOWS_UWP
- if (ApiInformation.IsTypePresent(typeof(StatusBar).ToString()))
+ if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
StatusBar statusBar = StatusBar.GetForCurrentView();
statusBar.Showing += (sender, args) => UpdateBounds();
{
_bounds = new Rectangle(0, 0, _page.ActualWidth, _page.ActualHeight);
#if WINDOWS_UWP
- if (ApiInformation.IsTypePresent(typeof(StatusBar).ToString()))
+ if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
StatusBar statusBar = StatusBar.GetForCurrentView();