/// <summary> /// <para> /// Invokes the property builder beginning with the specified page. /// </para> /// </summary> /// <param name='initialPage'> /// The page to begin with. /// </param> protected internal void InvokePropertyBuilder(int initialPage) { IComponentChangeService changeService = null; bool result = false; changeService = (IComponentChangeService)GetService(typeof(IComponentChangeService)); if (changeService != null) { try { changeService.OnComponentChanging(_list, null); } catch (CheckoutException ex) { if (ex == CheckoutException.Canceled) { return; } throw; } } try { ListComponentEditor compEditor = new ListComponentEditor(initialPage); result = compEditor.EditComponent(_list); } finally { if (changeService != null) { changeService.OnComponentChanged(_list, null, null, null); if (IMobileWebFormServices != null) { IMobileWebFormServices.ClearUndoStack(); } } } }