AjaxControlToolkit.ComboBoxDesignerActionList.GetPropertyItem C# (CSharp) Метод

GetPropertyItem() защищенный Метод

protected GetPropertyItem ( string propertyName, string displayName ) : System.ComponentModel.Design.DesignerActionPropertyItem
propertyName string
displayName string
Результат System.ComponentModel.Design.DesignerActionPropertyItem
        protected virtual DesignerActionPropertyItem GetPropertyItem(string propertyName, string displayName)
        {
            var property = TypeDescriptor.GetProperties(_comboBox)[propertyName];
            if(property != null && property.IsBrowsable)
                return new DesignerActionPropertyItem(propertyName, displayName, property.Category, property.Description);
            return null;
        }