Sdílet prostřednictvím


PropertyValueEditor.CreateEditorAttribute Metoda

Definice

Vytvoří nový EditorAttribute , který určí, že konkrétní PropertyValueEditor má být použita ke změně hodnoty vlastnosti.

Přetížení

CreateEditorAttribute(PropertyValueEditor)

Vytvoří nový EditorAttribute , který určí, že konkrétní PropertyValueEditor má být použita ke změně hodnoty vlastnosti.

CreateEditorAttribute(Type)

Vytvoří nový EditorAttribute , který určí, že PropertyValueEditor se konkrétní typ použije ke změně hodnoty vlastnosti.

CreateEditorAttribute(PropertyValueEditor)

Vytvoří nový EditorAttribute , který určí, že konkrétní PropertyValueEditor má být použita ke změně hodnoty vlastnosti.

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

Parametry

editor
PropertyValueEditor

Hodnota PropertyValueEditor , pro kterou chcete vytvořit nový EditorAttribute.

Návraty

Nový EditorAttribute pro určenou PropertyValueEditor.

Platí pro

CreateEditorAttribute(Type)

Vytvoří nový EditorAttribute , který určí, že PropertyValueEditor se konkrétní typ použije ke změně hodnoty vlastnosti.

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

Parametry

propertyValueEditorType
Type

Typ PropertyValueEditor , pro který chcete vytvořit nový EditorAttribute.

Návraty

Nový EditorAttribute pro určený PropertyValueEditor typ.

Platí pro