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); }