Ejemplo n.º 1
0
        public static void Add(Grid grid, FieldDefinition field, string label, Binding value, int row, int startColumn)
        {
            string labelStyle = field.GetExtra("labelstyle", "NormalLabel");
            string inputStyle = field.GetExtra("inputstyle", "");

            Add(grid, label, value, row, labelStyle, inputStyle, startColumn);
        }
Ejemplo n.º 2
0
        public static void Add(Grid grid, FieldDefinition field, string label, Binding value, int row, int startColumn)
        {
            double minimum = Convert.ToDouble(field.GetExtra("min", "0"));
            double maximum = Convert.ToDouble(field.GetExtra("max", "0"));
            string labelStyle = field.GetExtra("labelstyle", "NormalLabel");
            string inputStyle = field.GetExtra("inputstyle", "");

            Add(grid, label, value, row, minimum, maximum, labelStyle, inputStyle, startColumn);
        }