PropertyValueEditor.CreateEditorAttribute Método

Definição

Cria um novo EditorAttribute para designar que um determinado PropertyValueEditor seja usado para alterar um valor da propriedade.Creates a new EditorAttribute to designate that a particular PropertyValueEditor be used to change a property value.

Sobrecargas

CreateEditorAttribute(PropertyValueEditor)

Cria um novo EditorAttribute para designar que um determinado PropertyValueEditor seja usado para alterar um valor da propriedade.Creates a new EditorAttribute to designate that a particular PropertyValueEditor be used to change a property value.

CreateEditorAttribute(Type)

Cria um novo EditorAttribute para designar que um determinado tipo de PropertyValueEditor seja usado para alterar um valor da propriedade.Creates a new EditorAttribute to designate that a particular PropertyValueEditor type be used to change a property value.

CreateEditorAttribute(PropertyValueEditor)

Cria um novo EditorAttribute para designar que um determinado PropertyValueEditor seja usado para alterar um valor da propriedade.Creates a new EditorAttribute to designate that a particular PropertyValueEditor be used to change a property value.

public:
 static System::ComponentModel::EditorAttribute ^ CreateEditorAttribute(System::Activities::Presentation::PropertyEditing::PropertyValueEditor ^ editor);
public static System.ComponentModel.EditorAttribute CreateEditorAttribute (System.Activities.Presentation.PropertyEditing.PropertyValueEditor editor);
static member CreateEditorAttribute : System.Activities.Presentation.PropertyEditing.PropertyValueEditor -> System.ComponentModel.EditorAttribute
Public Shared Function CreateEditorAttribute (editor As PropertyValueEditor) As EditorAttribute

Parâmetros

editor
PropertyValueEditor

O PropertyValueEditor para o qual o novo EditorAttribute será criado.The PropertyValueEditor for which to create the new EditorAttribute.

Retornos

EditorAttribute

Um novo EditorAttribute para o PropertyValueEditor designado.A new EditorAttribute for the designated PropertyValueEditor.

Aplica-se a

CreateEditorAttribute(Type)

Cria um novo EditorAttribute para designar que um determinado tipo de PropertyValueEditor seja usado para alterar um valor da propriedade.Creates a new EditorAttribute to designate that a particular PropertyValueEditor type be used to change a property value.

public:
 static System::ComponentModel::EditorAttribute ^ CreateEditorAttribute(Type ^ propertyValueEditorType);
public static System.ComponentModel.EditorAttribute CreateEditorAttribute (Type propertyValueEditorType);
static member CreateEditorAttribute : Type -> System.ComponentModel.EditorAttribute
Public Shared Function CreateEditorAttribute (propertyValueEditorType As Type) As EditorAttribute

Parâmetros

propertyValueEditorType
Type

O tipo de PropertyValueEditor para o qual o novo EditorAttribute será criado.The PropertyValueEditor type for which to create the new EditorAttribute.

Retornos

EditorAttribute

Um novo EditorAttribute para o tipo de PropertyValueEditor designado.A new EditorAttribute for the designated PropertyValueEditor type.

Aplica-se a