Skip to main content

ISetInheritanceParent Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this 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)

[NotClientImplementableAttribute]
public interface ISetInheritanceParent
View Source

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

Reference

Avalonia.Controls Namespace