private void AddFontSizeToAbstractLabelProperty(AbstractLabelProperty abstractLabelProperty) { if (TryParse(FontSizeTextBox.Text, out var f)) { abstractLabelProperty.FontSize = f; } }
private void FromAbstractLabelProperty(AbstractLabelProperty abstractLabelProperty) { CheckBox.IsChecked = true; //Enable LabelTextBox.Text = abstractLabelProperty.LabelTextExpression; if (abstractLabelProperty.FontSize.HasValue) { FontSizeTextBox.Text = $"{abstractLabelProperty.FontSize.Value:0.00}"; } }