UnsafeNativeMethods class¶
Defined in
Namespace: CrissCross.WPF.UI.Interop
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Interop.UnsafeNativeMethods
Modifiers: public static
Summary¶
A set of dangerous methods to modify the appearance.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Methods¶
| Name | Summary |
|---|---|
| static ApplyWindowCornerPreference | Tries to set the Window corner preference. |
| static RemoveWindowDarkMode | Tries to remove ImmersiveDarkMode effect from the Window. |
| static ApplyWindowDarkMode | Tries to apply ImmersiveDarkMode effect for the Window. |
| static RemoveWindowTitlebarContents | Tries to remove titlebar from selected Window. |
| static ApplyWindowBackdrop | Tries to apply selected backdrop type for window handle. |
| static IsWindowHasBackdrop | Tries to determine whether the provided Window has applied legacy backdrop effect. |
| static IsWindowHasLegacyMica | Tries to determine whether the provided Window has applied legacy Mica effect. |
| static ApplyWindowLegacyMicaEffect | Tries to apply legacy Mica effect for the selected Window. |
| static ApplyWindowLegacyAcrylicEffect | Tries to apply legacy Acrylic effect for the selected Window. |
| static GetDwmColor | Tries to get currently selected Window accent color. |
| static RemoveWindowCaption | |
| static ExtendClientAreaIntoTitleBar | |
| static IsCompositionEnabled | Checks whether the DWM composition is enabled. |
| static IsValidWindow | Checks if provided pointer represents existing window. |