AncestorLevel Property
Gets the level of ancestor to look for when in FindAncestor mode.
Definition
Namespace: Avalonia.Data
Assembly: Avalonia.Markup (in Avalonia.Markup.dll)
- C#
- VB
- F#
public int AncestorLevel { get; set; }
Public Property AncestorLevel As Integer
Get
Set
member AncestorLevel : int with get, set
Property Value
Int32Remarks
Use the default value of 1 to look for the first ancestor of the specified type.