RelativeSource.

AncestorLevel Property

Summary

Gets the level of ancestor to look for when in FindAncestor mode.
Namespace
Avalonia.Data
Containing Type
RelativeSource

Syntax

public int AncestorLevel { get; set; }

Remarks

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

Value

Type Description
int