C# Class Hawkeye.UI.PropertyTabs.BasePropertyTab

Inheritance: System.Windows.Forms.Design.PropertyTab
显示文件 Open project: odalet/Hawkeye2

Public Methods

Method Description
GetProperties ( ITypeDescriptorContext context, object component, Attribute attributes ) : PropertyDescriptorCollection

Gets the properties of the specified component that match the specified attributes and context.

GetProperties ( object component, Attribute attributes ) : PropertyDescriptorCollection

Protected Methods

Method Description
AddPseudoProperties ( ITypeDescriptorContext context, object component, Attribute attributes, PropertyDescriptorCollection originalCollection ) : PropertyDescriptorCollection

Adds pseudo-properties for the specified component.

GetAllProperties ( ITypeDescriptorContext context, object component, Attribute attributes ) : PropertyDescriptorCollection

Gets all the properties of the specified component that match the specified attributes and context.

Method Details

AddPseudoProperties() protected method

Adds pseudo-properties for the specified component.
protected AddPseudoProperties ( ITypeDescriptorContext context, object component, Attribute attributes, PropertyDescriptorCollection originalCollection ) : PropertyDescriptorCollection
context ITypeDescriptorContext /// An /// that indicates the context to retrieve properties from.
component object The component to retrieve properties from.
attributes System.Attribute /// An array of type that indicates the /// attributes of the properties to retrieve.
originalCollection System.ComponentModel.PropertyDescriptorCollection The original property descriptor collection.
return System.ComponentModel.PropertyDescriptorCollection

GetAllProperties() protected abstract method

Gets all the properties of the specified component that match the specified attributes and context.
protected abstract GetAllProperties ( ITypeDescriptorContext context, object component, Attribute attributes ) : PropertyDescriptorCollection
context ITypeDescriptorContext
component object The component to retrieve properties from.
attributes System.Attribute /// An array of type that indicates the /// attributes of the properties to retrieve.
return System.ComponentModel.PropertyDescriptorCollection

GetProperties() public method

Gets the properties of the specified component that match the specified attributes and context.
public GetProperties ( ITypeDescriptorContext context, object component, Attribute attributes ) : PropertyDescriptorCollection
context ITypeDescriptorContext /// An /// that indicates the context to retrieve properties from.
component object The component to retrieve properties from.
attributes System.Attribute /// An array of type that indicates the /// attributes of the properties to retrieve.
return System.ComponentModel.PropertyDescriptorCollection

GetProperties() public method

public GetProperties ( object component, Attribute attributes ) : PropertyDescriptorCollection
component object
attributes System.Attribute
return System.ComponentModel.PropertyDescriptorCollection