Freigeben über


RelativeBindingSource(RelativeBindingSourceMode, Type, Int32) Konstruktor

Definition

Erstellt ein neues RelativeBindingSource mit dem angegebenen Modus, dem Vorgängertyp und der Ebene.

public RelativeBindingSource(Microsoft.Maui.Controls.RelativeBindingSourceMode mode, Type ancestorType = default, int ancestorLevel = 1);
new Microsoft.Maui.Controls.RelativeBindingSource : Microsoft.Maui.Controls.RelativeBindingSourceMode * Type * int -> Microsoft.Maui.Controls.RelativeBindingSource
Public Sub New (mode As RelativeBindingSourceMode, Optional ancestorType As Type = Nothing, Optional ancestorLevel As Integer = 1)

Parameter

mode
RelativeBindingSourceMode

Der relative Bindungsquellmodus.

ancestorType
Type

Der Typ des zu findenden Vorgängers. Erforderlich für FindAncestor-Modi.

ancestorLevel
Int32

Die Ebene des Vorgängers, die gesucht werden soll (1-basiert). Der Standardwert ist 1.

Gilt für: