Skip to content

Commit

Permalink
Add TemplatePart annotations for DialogHost
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Jan 3, 2025
1 parent 89c5bfe commit 1d92c4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DialogHost.Avalonia/DialogHost.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ namespace DialogHostAvalonia;
/// <summary>
/// A control that hosts dialog content in a modal overlay.
/// </summary>
[TemplatePart(ContentCoverName, typeof(Rectangle))]
[TemplatePart(DialogHostRoot, typeof(Panel))]
public class DialogHost : ContentControl {
/// <summary>
/// Gets the name for the content cover part in the control template.
Expand Down

0 comments on commit 1d92c4d

Please sign in to comment.