private static UIElement GetPropertiesNameLabel(string name) { var nameLabel = new Label(); nameLabel.Content = name; nameLabel.Margin = new Thickness(0, 5, 0, 25); nameLabel.FontSize = 16.0; return nameLabel; }