public static IBusyIndicatorManager Create(PhoneApplicationPage page) { var busyIndicator = page.GetValue(BusyIndicatorProperty) as IBusyIndicatorManager; if (busyIndicator == null) { busyIndicator = new BusyIndicatorManager(page); page.SetValue(BusyIndicatorProperty, busyIndicator); } return busyIndicator; }
public static IBusyIndicatorManager Create(PhoneApplicationPage page) { var busyIndicator = page.GetValue(BusyIndicatorProperty) as IBusyIndicatorManager; if (busyIndicator == null) { busyIndicator = new BusyIndicatorManager(page); page.SetValue(BusyIndicatorProperty, busyIndicator); } return(busyIndicator); }
private static bool GetHasEventsWired(PhoneApplicationPage obj) { return((bool)obj.GetValue(HasEventsWiredProperty)); }
/// <summary> /// Gets the Application Bar of the page. /// </summary> /// <param name="obj">The page. </param> /// <returns>The <see cref="BindableApplicationBar"/>. </returns> public static BindableApplicationBar GetApplicationBar(PhoneApplicationPage obj) { return((BindableApplicationBar)obj.GetValue(ApplicationBarProperty)); }
public static BindableApplicationBar GetApplicationBar(PhoneApplicationPage obj) { return (BindableApplicationBar)obj.GetValue(ApplicationBarProperty); }