Exemplo n.º 1
0
        /// <summary>
        /// Биндинг check бокса.
        /// </summary>
        private IUserControlController BindCheckBox(PropertyInfo propertyInfo, IControlDescriptor control)
        {
            var controller = new CheckBoxController();

            controller.SetView((CheckBoxControl)control);

            ProcessCommon(controller.Model, propertyInfo);
            ProcessFocusable(control, propertyInfo);

            return(controller);
        }