RelativeBindingSource(RelativeBindingSourceMode, Type, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.