IAvaloniaObject.

AddInheritanceChild(IAvaloniaObject) Method

Summary

Registers an object as an inheritance child.
Namespace
Avalonia
Containing Type
IAvaloniaObject

Syntax

void AddInheritanceChild(IAvaloniaObject child)

Remarks

Inheritance children will receive a call to InheritedPropertyChanged<T>(AvaloniaProperty<T>, Optional<T>, Optional<T>) when an inheritable property value changes on the parent.

Parameters

Name Type Description
child IAvaloniaObject The inheritance child.

Return Value

Type Description
void