/// <summary> /// Updates the UI. /// </summary> private void UpdateUI() { _isUiUpdating = true; TextRegionSymbol symbol = VisualEditor.FocusedTextSymbol; OpenXmlTextProperties textProperties = null; if (symbol != null) { textProperties = VisualEditor.GetTextProperties(symbol); } UpdateTextPropertiesUI(textProperties); _isUiUpdating = false; }
/// <summary> /// Updates the UI. /// </summary> private void UpdateUI() { _isUiUpdating = true; TextRegionSymbol symbol = VisualEditor.FocusedTextSymbol; OpenXmlParagraphProperties paragraphProperties = null; if (symbol != null) { paragraphProperties = VisualEditor.GetParagraphProperties(symbol); } UpdateParagraphPropertiesUI(paragraphProperties); _isUiUpdating = false; }