RelativeBindingSource(RelativeBindingSourceMode, Type, Int32) Constructor

Definition

Creates a new RelativeBindingSource with the specified mode, ancestor type, and level.

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)

Parameters

mode
RelativeBindingSourceMode

The relative binding source mode.

ancestorType
Type

The type of ancestor to find. Required for FindAncestor modes.

ancestorLevel
Int32

The level of ancestor to find (1-based). Default is 1.

Applies to