PropertyValueEditor 类

定义

建立一个用于更新属性值的内联编辑器。Establishes an inline editor for the updating of property values.

public ref class PropertyValueEditor
public class PropertyValueEditor
type PropertyValueEditor = class
Public Class PropertyValueEditor
继承
PropertyValueEditor
派生

示例

注解

此类可保存一个 DataTemplate:每个对象用于一个 Inline 编辑器。This class can hold a single DataTemplate: one for an Inline editor. 内联编辑是指在文本框或相似的控件中输入属性值,而不是通过从下拉菜单中进行选择的方式来设置其值。Inline editing refers to the entering of property values into a text box or similar control as opposed to setting the value by choosing it from a drop-down menu.

构造函数

PropertyValueEditor()

创建 PropertyValueEditor 类的新实例。Creates a new instance of the PropertyValueEditor class.

PropertyValueEditor(DataTemplate)

使用用于内联编辑器的指定的 DataTemplate 创建 PropertyValueEditor 类的新实例。Creates a new instance of the PropertyValueEditor class with the specified DataTemplate that is used for an inline editor.

属性

InlineEditorTemplate

获取或设置 InlineEditorTemplate,其 DataTemplate 用于内联编辑器。Gets or sets the InlineEditorTemplate, the DataTemplate that is used for an inline editor.

方法

CreateEditorAttribute(PropertyValueEditor)

创建新的 EditorAttribute,以指定使用特定的 PropertyValueEditor 来更改属性值。Creates a new EditorAttribute to designate that a particular PropertyValueEditor be used to change a property value.

CreateEditorAttribute(Type)

创建新的 EditorAttribute,以指定使用特定的 PropertyValueEditor 类型来更改属性值。Creates a new EditorAttribute to designate that a particular PropertyValueEditor type be used to change a property value.

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于