C# Class Nexus.UI.Controls.FontProvider.FontProviderTypeDescriptor

Type descriptor used to hide any font properties when using a font information.
Inheritance: ICustomTypeDescriptor
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
FontProviderTypeDescriptor ( object p_objOwner ) : System

Creates a new instance of the FontProviderTypeDescriptor class.

GetAttributes ( ) : AttributeCollection

Returns a collection of custom attributes for this instance of a component.

GetClassName ( ) : string

Returns the class name of this instance of a component.

GetComponentName ( ) : string

Returns the name of this instance of a component.

GetConverter ( ) : TypeConverter

Returns a type converter for this instance of a component.

GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor

Returns the default event for this instance of a component.

GetDefaultProperty ( ) : PropertyDescriptor

Returns the default property for this instance of a component.

GetEditor ( Type editorBaseType ) : object

Returns an editor of the specified type for this instance of a component.

GetEvents ( ) : EventDescriptorCollection

Returns the events for this instance of a component.

GetEvents ( Attribute attributeList ) : EventDescriptorCollection

Returns the events for this instance of a component using the specified attribute array as a filter.

GetProperties ( ) : PropertyDescriptorCollection

Returns the properties for this instance of a component.

GetProperties ( Attribute attributeList ) : PropertyDescriptorCollection

Returns the properties for this instance of a component using the attribute array as a filter.

GetPropertyOwner ( PropertyDescriptor propertyDescriptor ) : object

Returns an object that contains the property described by the specified property descriptor.

Method Details

FontProviderTypeDescriptor() public method

Creates a new instance of the FontProviderTypeDescriptor class.
public FontProviderTypeDescriptor ( object p_objOwner ) : System
p_objOwner object The object whose type is being described.
return System

GetAttributes() public method

Returns a collection of custom attributes for this instance of a component.
public GetAttributes ( ) : AttributeCollection
return System.ComponentModel.AttributeCollection

GetClassName() public method

Returns the class name of this instance of a component.
public GetClassName ( ) : string
return string

GetComponentName() public method

Returns the name of this instance of a component.
public GetComponentName ( ) : string
return string

GetConverter() public method

Returns a type converter for this instance of a component.
public GetConverter ( ) : TypeConverter
return System.ComponentModel.TypeConverter

GetDefaultEvent() public method

Returns the default event for this instance of a component.
public GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
return System.ComponentModel.EventDescriptor

GetDefaultProperty() public method

Returns the default property for this instance of a component.
public GetDefaultProperty ( ) : PropertyDescriptor
return System.ComponentModel.PropertyDescriptor

GetEditor() public method

Returns an editor of the specified type for this instance of a component.
public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type
return object

GetEvents() public method

Returns the events for this instance of a component.
public GetEvents ( ) : EventDescriptorCollection
return System.ComponentModel.EventDescriptorCollection

GetEvents() public method

Returns the events for this instance of a component using the specified attribute array as a filter.
public GetEvents ( Attribute attributeList ) : EventDescriptorCollection
attributeList System.Attribute
return System.ComponentModel.EventDescriptorCollection

GetProperties() public method

Returns the properties for this instance of a component.
public GetProperties ( ) : PropertyDescriptorCollection
return System.ComponentModel.PropertyDescriptorCollection

GetProperties() public method

Returns the properties for this instance of a component using the attribute array as a filter.
public GetProperties ( Attribute attributeList ) : PropertyDescriptorCollection
attributeList System.Attribute
return System.ComponentModel.PropertyDescriptorCollection

GetPropertyOwner() public method

Returns an object that contains the property described by the specified property descriptor.
public GetPropertyOwner ( PropertyDescriptor propertyDescriptor ) : object
propertyDescriptor System.ComponentModel.PropertyDescriptor
return object