Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Mar 12, 2024
1 parent 5adfa84 commit 02215ca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/OneWare.Essentials/Controls/UiExtensionControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
}
}

protected override void OnInitialized()
{
base.OnInitialized();
//ConstructContent();
}

private void ConstructContent()
{
if (UiExtension == null)
Expand All @@ -53,6 +59,9 @@ private void ConstructContent()

var extension = UiExtension.CreateUiExtension(Context);
if (extension != null)
{
Content = extension;
}

}
}

0 comments on commit 02215ca

Please sign in to comment.