using InABox.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace InABox.DynamicGrid { public class DFLabelControl : DynamicFormControl { protected override FrameworkElement Create() { var label = new Label(); label.Content = Control.Caption; label.HorizontalContentAlignment = HorizontalAlignment.Left; label.VerticalContentAlignment = VerticalAlignment.Center; return label; } } }