ISetInheritanceParent Interface

Defines an interface through which a StyledElement's inheritance parent can be set.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface ISetInheritanceParent

Remarks

You should not usually need to use this interface - it is for advanced scenarios only. Additionally, ISetLogicalParent also sets the inheritance parent; this interface is only needed where the logical and inheritance parents differ.

Methods

SetParent(AvaloniaObject) Sets the control's inheritance parent.

See Also