整理控件库

This commit is contained in:
GG Z
2025-05-05 17:04:06 +08:00
parent 74532b77be
commit 3eaad7566e
283 changed files with 2156 additions and 17846 deletions

View File

@@ -117,7 +117,7 @@ public class FluentWindow : System.Windows.Window
/// </summary>
protected virtual void OnBackdropTypeChanged(WindowBackdropType oldValue, WindowBackdropType newValue)
{
if (Appearance.ApplicationThemeManager.GetAppTheme() == Appearance.ApplicationTheme.Unknown)
if (Appearance.ThemeManager.GetAppTheme() == Appearance.ThemeType.Unknow)
{
newValue = WindowBackdropType.None;
}
@@ -137,8 +137,6 @@ public class FluentWindow : System.Windows.Window
{
return;
}
//UnsafeNativeMethods.ApplyWindowCornerPreference(InteropHelper.Handle, newValue);
}
/// <summary>
@@ -159,10 +157,6 @@ public class FluentWindow : System.Windows.Window
ResizeBorderThickness = ResizeMode == ResizeMode.NoResize ? default : new Thickness(4),
UseAeroCaptionButtons = false,
});
// WindowStyleProperty.OverrideMetadata(typeof(FluentWindow), new FrameworkPropertyMetadata(WindowStyle.SingleBorderWindow));
// AllowsTransparencyProperty.OverrideMetadata(typeof(FluentWindow), new FrameworkPropertyMetadata(false));
//_ = UnsafeNativeMethods.RemoveWindowTitlebarContents(this);
}
/// <inheritdoc/>