Skip to content

Commit

Permalink
fix border not inheriting frameworkelement
Browse files Browse the repository at this point in the history
  • Loading branch information
bluepilledgreat committed Jan 24, 2025
1 parent 63d38f6 commit 586dad0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ private static StackPanel HandleXmlElement_StackPanel(CustomDialog dialog, XElem
private static Border HandleXmlElement_Border(CustomDialog dialog, XElement xmlElement)
{
var border = new Border();
HandleXmlElement_FrameworkElement(dialog, border, xmlElement);

ApplyBrush_UIElement(dialog, border, "Background", Border.BackgroundProperty, xmlElement);
ApplyBrush_UIElement(dialog, border, "BorderBrush", Border.BorderBrushProperty, xmlElement);
Expand Down

0 comments on commit 586dad0

Please sign in to comment.