RelativeSource.Mode 属性

定义

获取或设置一个值,该值描述绑定源相对于绑定目标位置的位置。

public:
 property RelativeSourceMode Mode { RelativeSourceMode get(); void set(RelativeSourceMode value); };
RelativeSourceMode Mode();

void Mode(RelativeSourceMode value);
public RelativeSourceMode Mode { get; set; }
var relativeSourceMode = relativeSource.mode;
relativeSource.mode = relativeSourceMode;
Public Property Mode As RelativeSourceMode
<dependencyobjectdependencyproperty="Binding ... RelativeSource={RelativeSource mode}}" />

属性值

枚举的一个值。

适用于