ActivityPropertyReference Class

Definition

表示一个属性引用,该引用在 ActivityBuilder 中使用,并在 x:Class 活动反序列化为 PropertyReferenceExtension<T> 时,在 x:Class 活动中映射到 ActivityBuilderRepresents a property reference that is used in ActivityBuilder and that maps to a PropertyReferenceExtension<T> in an x:Class activity when the x:Class activity is deserialized into an ActivityBuilder.

public ref class ActivityPropertyReference
public class ActivityPropertyReference
type ActivityPropertyReference = class
Public Class ActivityPropertyReference
Inheritance
ActivityPropertyReference

Constructors

ActivityPropertyReference()

初始化 ActivityPropertyReference 类的新实例。Initializes a new instance of the ActivityPropertyReference class.

Properties

SourceProperty

获取或设置与 x:Class 活动定义中的属性名称对应的源属性名称。Gets or sets the source property name that corresponds to the property name in the x:Class activity definition.

TargetProperty

获取或设置对目标对象设置的属性的名称。Gets or sets the name of the property being set on the target object.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

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

(Inherited from Object)
GetType()

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

(Inherited from Object)
MemberwiseClone()

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

(Inherited from Object)
ToString()

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

(Inherited from Object)

Applies to