Udostępnij za pośrednictwem


PropertyValueEditor.CreateEditorAttribute Metoda

Definicja

Tworzy nowy EditorAttribute element, aby wyznaczyć, że określona wartość PropertyValueEditor ma być używana do zmiany wartości właściwości.

Przeciążenia

CreateEditorAttribute(PropertyValueEditor)

Tworzy nowy EditorAttribute element, aby wyznaczyć, że określona wartość PropertyValueEditor ma być używana do zmiany wartości właściwości.

CreateEditorAttribute(Type)

Tworzy nowy EditorAttribute , aby wyznaczyć, że określony PropertyValueEditor typ ma być używany do zmiany wartości właściwości.

CreateEditorAttribute(PropertyValueEditor)

Tworzy nowy EditorAttribute element, aby wyznaczyć, że określona wartość PropertyValueEditor ma być używana do zmiany wartości właściwości.

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

Element PropertyValueEditor , dla którego ma zostać utworzony nowy EditorAttributeelement .

Zwraca

Nowy EditorAttribute dla wyznaczonego PropertyValueEditorelementu .

Dotyczy

CreateEditorAttribute(Type)

Tworzy nowy EditorAttribute , aby wyznaczyć, że określony PropertyValueEditor typ ma być używany do zmiany wartości właściwości.

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 , dla którego ma zostać utworzony nowy EditorAttributeelement .

Zwraca

Nowy EditorAttribute dla wyznaczonego PropertyValueEditor typu.

Dotyczy