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)
- C#
- VB
- F#
public class RelativeSource
Public Class RelativeSource
type RelativeSource = class end
Inheritance | Object → RelativeSource |
Constructors
RelativeSource() | Initializes a new instance of the RelativeSource class. |
RelativeSource(RelativeSourceMode) | Initializes a new instance of the RelativeSource class. |
Properties
AncestorLevel | Gets the level of ancestor to look for when in FindAncestor mode. |
AncestorType | Gets the type of ancestor to look for when in FindAncestor mode. |
Mode | Gets 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) |