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);
        }
Ejemplo n.º 3
0
 private static bool GetHasEventsWired(PhoneApplicationPage obj)
 {
     return((bool)obj.GetValue(HasEventsWiredProperty));
 }
Ejemplo n.º 4
0
 /// <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));
 }
Ejemplo n.º 5
0
		public static BindableApplicationBar GetApplicationBar(PhoneApplicationPage obj)
		{
			return (BindableApplicationBar)obj.GetValue(ApplicationBarProperty);
		}