Skip to content

Commit

Permalink
Fix for the Close button visibility not being applied (ignoring the C…
Browse files Browse the repository at this point in the history
…anClose property).

Updated the GitHub URI for the Nuget package.
  • Loading branch information
wokhan committed Jan 1, 2023
1 parent ab7c94f commit 20ba1fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Wokhan.UI/Wokhan.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageIcon></PackageIcon>
<PackageTags>WPF UWP UnoPlatform UI Windows</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/wokhansoft/Wokhan.UI</PackageProjectUrl>
<PackageProjectUrl>https://github.com/wokhan/Wokhan.UI</PackageProjectUrl>
<PackageReleaseNotes>Please check GitHub repository for details.</PackageReleaseNotes>
<Description>Binding converters, markup extensions and various helpers for WPF, UWP (cross platform thank to Uno Platform).</Description>
<RepositoryType></RepositoryType>
Expand Down
1 change: 1 addition & 0 deletions Wokhan.UI/Xaml/Controls/CustomWindowChrome.wpf.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ private void CustomWindowChrome_Loaded(object sender, RoutedEventArgs e)
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Window)));
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(MinimizeButtonVisibility)));
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(MaximizeButtonVisibility)));
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(CloseButtonVisibility)));

Chrome = new WindowChrome() { UseAeroCaptionButtons = false };
if (Height != double.NaN)
Expand Down

0 comments on commit 20ba1fb

Please sign in to comment.