Skip to main content

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)

public int AncestorLevel { get; set; }

Property Value

Int32

Remarks

Use the default value of 1 to look for the first ancestor of the specified type.

See Also

Reference

RelativeSource Class
Avalonia.Data Namespace