GetInputControlName() public method

Get the name to use for an input control representing a IUIFormField.
public GetInputControlName ( IUIFormField formField ) : string
formField IUIFormField The to represent with the name.
return string
Esempio n. 1
0
        private IControlMapper CreateAndAddInputControlToContainerControl
            (UIFormField formField, IControlHabanero containerControl)
        {
            IControlMapper   controlMapper;
            IControlHabanero inputControl = ConfigureInputControl(formField, out controlMapper);

            inputControl.Dock = DockStyle.Fill;
            inputControl.Name = _controlNamingStrategy.GetInputControlName(formField);
            EnsureControlNameUnique(inputControl, containerControl);
            containerControl.Controls.Add(inputControl);
            return(controlMapper);
        }