/// <summary> /// Gets the UI. /// </summary> /// <param name="styleArguments">The style arguments.</param> /// <returns>The style user control</returns> public StyleUserControl GetUI(StyleBuilderArguments styleArguments) { StyleUserControl styleUI = GetUICore(styleArguments); if (styleUI != null) { styleUI.StyleItem = this; } return(styleUI); }
/// <summary> /// Updates the UI. /// </summary> /// <param name="styleItemUI">The style item UI.</param> public void UpdateUI(StyleUserControl styleItemUI) { preventRaisingConcreteObjectUpdated = true; try { if (styleItemUI != null) { UpdateUICore(styleItemUI); } } catch (Exception e) { GisEditor.LoggerManager.Log(LoggerLevel.Debug, e.Message, new ExceptionInfo(e)); } finally { preventRaisingConcreteObjectUpdated = false; } }