共用方式為


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}}" />

屬性值

列舉值。

適用於