Table of Contents

Interface ISetInheritanceParent

Namespace
Avalonia.Controls
Assembly
Avalonia.Base.dll

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

[NotClientImplementable]
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.

void SetParent(AvaloniaObject? parent)

Parameters

parent AvaloniaObject

The parent.