Udostępnij za pośrednictwem


RelativeSource.Mode Property

Definition

Gets or sets a value that describes the location of the binding source relative to the position of the binding target.

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

Property Value

A value of the enumeration.

Applies to