共用方式為


LocalizableProperties Class

Definition

LocalizableProperties provides a class that supplies custom type information on localizable properties for an object.

public ref class LocalizableProperties : System::ComponentModel::ICustomTypeDescriptor
[System.Runtime.InteropServices.ComVisible(true)]
public class LocalizableProperties : System.ComponentModel.ICustomTypeDescriptor
[<System.Runtime.InteropServices.ComVisible(true)>]
type LocalizableProperties = class
    interface ICustomTypeDescriptor
Public Class LocalizableProperties
Implements ICustomTypeDescriptor
Inheritance
LocalizableProperties
Derived
Attributes
Implements

Remarks

Typically, this class is used when an object needs dynamic localizable property information. This class can be used as a base class for project or document properties which are displayed in the Properties Window when the document or project file is active.

Constructors

LocalizableProperties()

This default constructor creates a LocalizableProperties object.

Methods

CreateDesignPropertyDescriptor(PropertyDescriptor)

Returns a DesignPropertyDescriptor wrapper on the given property descriptor.

GetAttributes()

Gets a collection of attributes for this component.

GetClassName()

Returns the class name of this object.

GetComponentName()

Returns the name of this object.

GetConverter()

Returns a type converter for this object.

GetDefaultEvent()

Returns the default event for this object.

GetDefaultProperty()

Gets the default property for a component.

GetEditor(Type)

Retrieves the editor for this object.

GetEvents()

Gets the collection of events for a specified component.

GetEvents(Attribute[])

Gets the collection of events for a specified component using a specified array of attributes as a filter.

GetProperties()

Gets the collection of properties.

GetProperties(Attribute[])

Returns the properties for selected object using the attribute array as a filter.

GetPropertyOwner(PropertyDescriptor)

Returns the brows-able object.

Applies to