C# Class FlatRedBall.Glue.GuiDisplay.PropertyDescriptorHelper

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetPropertyDescriptor ( PropertyDescriptorCollection pdc, string name ) : PropertyDescriptor

Method Details

AddProperty() public static méthode

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

AddProperty() public static méthode

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
Résultat System.ComponentModel.PropertyDescriptorCollection

AddProperty() public static méthode

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
Résultat System.ComponentModel.PropertyDescriptorCollection

RemoveProperty() public static méthode

public static RemoveProperty ( PropertyDescriptorCollection pdc, string propertyName ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
propertyName string
Résultat System.ComponentModel.PropertyDescriptorCollection

SetPropertyDisplay() public static méthode

public static SetPropertyDisplay ( PropertyDescriptorCollection pdc, string oldName, string newName ) : PropertyDescriptorCollection
pdc System.ComponentModel.PropertyDescriptorCollection
oldName string
newName string
Résultat System.ComponentModel.PropertyDescriptorCollection