C# Class FlatRedBall.Glue.GuiDisplay.PropertyDescriptorHelper

Mostrar archivo Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetPropertyDescriptor ( PropertyDescriptorCollection pdc, string name ) : PropertyDescriptor

Method Details

AddProperty() public static method

public static AddProperty ( PropertyDescriptorCollection pdc, string propertyName, Type propertyType ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
propertyName string
propertyType System.Type
return System.ComponentModel.PropertyDescriptorCollection

AddProperty() public static method

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
return System.ComponentModel.PropertyDescriptorCollection

AddProperty() public static method

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
return System.ComponentModel.PropertyDescriptorCollection

RemoveProperty() public static method

public static RemoveProperty ( PropertyDescriptorCollection pdc, string propertyName ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
propertyName string
return System.ComponentModel.PropertyDescriptorCollection

SetPropertyDisplay() public static method

public static SetPropertyDisplay ( PropertyDescriptorCollection pdc, string oldName, string newName ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
oldName string
newName string
return System.ComponentModel.PropertyDescriptorCollection