C# Класс FlatRedBall.Glue.GuiDisplay.PropertyDescriptorHelper

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddProperty ( PropertyDescriptorCollection pdc, string propertyName, Type propertyType ) : PropertyDescriptorCollection
AddProperty ( PropertyDescriptorCollection pdc, string propertyName, Type propertyType, TypeConverter converter, Attribute attributes ) : PropertyDescriptorCollection
AddProperty ( PropertyDescriptorCollection pdc, string propertyName, Type propertyType, TypeConverter converter, Attribute attributes, MemberChangeEventHandler eventArgs, Func getMember ) : PropertyDescriptorCollection
RemoveProperty ( PropertyDescriptorCollection pdc, string propertyName ) : PropertyDescriptorCollection
SetPropertyDisplay ( PropertyDescriptorCollection pdc, string oldName, string newName ) : PropertyDescriptorCollection

Приватные методы

Метод Описание
GetPropertyDescriptor ( PropertyDescriptorCollection pdc, string name ) : PropertyDescriptor

Описание методов

AddProperty() публичный статический Метод

public static AddProperty ( PropertyDescriptorCollection pdc, string propertyName, Type propertyType ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
propertyName string
propertyType System.Type
Результат System.ComponentModel.PropertyDescriptorCollection

AddProperty() публичный статический Метод

public static AddProperty ( PropertyDescriptorCollection pdc, string propertyName, Type propertyType, TypeConverter converter, Attribute attributes ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
propertyName string
propertyType System.Type
converter System.ComponentModel.TypeConverter
attributes System.Attribute
Результат System.ComponentModel.PropertyDescriptorCollection

AddProperty() публичный статический Метод

public static AddProperty ( PropertyDescriptorCollection pdc, string propertyName, Type propertyType, TypeConverter converter, Attribute attributes, MemberChangeEventHandler eventArgs, Func getMember ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
propertyName string
propertyType System.Type
converter System.ComponentModel.TypeConverter
attributes System.Attribute
eventArgs MemberChangeEventHandler
getMember Func
Результат System.ComponentModel.PropertyDescriptorCollection

RemoveProperty() публичный статический Метод

public static RemoveProperty ( PropertyDescriptorCollection pdc, string propertyName ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
propertyName string
Результат System.ComponentModel.PropertyDescriptorCollection

SetPropertyDisplay() публичный статический Метод

public static SetPropertyDisplay ( PropertyDescriptorCollection pdc, string oldName, string newName ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
oldName string
newName string
Результат System.ComponentModel.PropertyDescriptorCollection