Skip to main content

RelativeSource Class

Describes the location of a binding source, relative to the binding target.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Markup (in Avalonia.Markup.dll)

public class RelativeSource
View Source
InheritanceObject → RelativeSource

Constructors

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

Properties

AncestorLevelGets the level of ancestor to look for when in FindAncestor mode.
AncestorTypeGets the type of ancestor to look for when in FindAncestor mode.
ModeGets or sets a value that describes the type of relative source lookup.
Tree 

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Data Namespace