Sdílet prostřednictvím


RelativeBindingSource Třída

Definice

Určuje relativní zdroj vazby, například Self, TemplatedParent nebo FindAncestor.

public ref class RelativeBindingSource sealed
public sealed class RelativeBindingSource
type RelativeBindingSource = class
Public NotInheritable Class RelativeBindingSource
Dědičnost
RelativeBindingSource

Konstruktory

Name Description
RelativeBindingSource(RelativeBindingSourceMode, Type, Int32)

Vytvoří nový RelativeBindingSource se zadaným režimem, typem nadřazeného prvku a úrovní.

Vlastnosti

Name Description
AncestorLevel

Získá 1-založenou úroveň nadřazeného najít.

AncestorType

Získá nadřazený typ najít při použití FindAncestor nebo FindAncestorBindingContext režimy.

Mode

Získá relativní režim zdroje vazby.

Self

RelativeBindingSource Získá, který vytvoří vazbu k samotnému prvku.

TemplatedParent

RelativeBindingSource Získá vazbu na nadřazenou šablonu.

Platí pro