PropertyValueEditor.CreateEditorAttribute Metod

Definition

Skapar en ny EditorAttribute för att ange att en viss PropertyValueEditor ska användas för att ändra ett egenskapsvärde.

Överlagringar

Name Description
CreateEditorAttribute(PropertyValueEditor)

Skapar en ny EditorAttribute för att ange att en viss PropertyValueEditor ska användas för att ändra ett egenskapsvärde.

CreateEditorAttribute(Type)

Skapar en ny EditorAttribute för att ange att en viss PropertyValueEditor typ ska användas för att ändra ett egenskapsvärde.

CreateEditorAttribute(PropertyValueEditor)

Skapar en ny EditorAttribute för att ange att en viss PropertyValueEditor ska användas för att ändra ett egenskapsvärde.

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

Parametrar

editor
PropertyValueEditor

För PropertyValueEditor vilket du ska skapa den nya EditorAttribute.

Returer

En ny EditorAttribute för den avsedda PropertyValueEditor.

Gäller för

CreateEditorAttribute(Type)

Skapar en ny EditorAttribute för att ange att en viss PropertyValueEditor typ ska användas för att ändra ett egenskapsvärde.

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

Parametrar

propertyValueEditorType
Type

Den PropertyValueEditor typ som du vill skapa den nya EditorAttribute.

Returer

En ny EditorAttribute för den avsedda PropertyValueEditor typen.

Gäller för