RelativeSource Class

Summary

Describes the the location of a binding source, relative to the binding target.
Namespace
Avalonia.Data
Base Types
  • object
graph BT Type-->Base0["object"] Type["RelativeSource"] class Type type-node

Syntax

public class RelativeSource

Constructors

Name Summary
RelativeSource() Initializes a new instance of the RelativeSource class.
RelativeSource(RelativeSourceMode) Initializes a new instance of the RelativeSource class.

Properties

Name Value Summary
AncestorLevel int
Gets the level of ancestor to look for when in FindAncestor mode.
AncestorType Type?
Gets the type of ancestor to look for when in FindAncestor mode.
Mode RelativeSourceMode
Gets or sets a value that describes the type of relative source lookup.
Tree TreeType