Поделиться через


PropertyValueEditor.CreateEditorAttribute Метод

Определение

Создает новый EditorAttribute объект для обозначения того, что конкретный PropertyValueEditor объект будет использоваться для изменения значения свойства.

Перегрузки

CreateEditorAttribute(PropertyValueEditor)

Создает новый EditorAttribute объект для обозначения того, что конкретный PropertyValueEditor объект будет использоваться для изменения значения свойства.

CreateEditorAttribute(Type)

Создает новый EditorAttribute объект для обозначения того, что конкретный PropertyValueEditor тип будет использоваться для изменения значения свойства.

CreateEditorAttribute(PropertyValueEditor)

Создает новый EditorAttribute объект для обозначения того, что конкретный PropertyValueEditor объект будет использоваться для изменения значения свойства.

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

Параметры

editor
PropertyValueEditor

PropertyValueEditor, для которого создается новый EditorAttribute.

Возвращаемое значение

Новый объект EditorAttribute для назначенного PropertyValueEditor.

Применяется к

CreateEditorAttribute(Type)

Создает новый EditorAttribute объект для обозначения того, что конкретный PropertyValueEditor тип будет использоваться для изменения значения свойства.

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

Параметры

propertyValueEditorType
Type

Тип PropertyValueEditor, для которого создается новый объект EditorAttribute.

Возвращаемое значение

Новый EditorAttribute для указанного типа PropertyValueEditor.

Применяется к