Skip to content

Commit

Permalink
fix: Set top level class name for ResourceDictionary with code-behind
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Dec 6, 2023
1 parent 09e3a0f commit b15f487
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ private SourceText InnerGenerateFile()
if (topLevelControl.Type.Name == "ResourceDictionary")
{
_isTopLevelDictionary = true;
_xClassName = FindClassName(topLevelControl);

using (TrySetDefaultBindMode(topLevelControl))
{
Expand Down

0 comments on commit b15f487

Please sign in to comment.