Browse Source
Rename Win32SpecificOptions to Win32Properties (#14662)
* Rename Win32SpecificOptions to Win32Properties
* Update win32 project as well
* Add missing doc
pull/14470/head
Max Katz
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
8 additions and
4 deletions
-
src/Avalonia.Controls/Platform/IWin32OptionsTopLevelImpl.cs
-
src/Avalonia.Controls/Platform/Win32Properties.cs
-
src/Windows/Avalonia.Win32/WindowImpl.cs
|
|
|
@ -5,7 +5,7 @@ using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Avalonia.Metadata; |
|
|
|
using Avalonia.Platform; |
|
|
|
using static Avalonia.Controls.Platform.Win32SpecificOptions; |
|
|
|
using static Avalonia.Controls.Win32Properties; |
|
|
|
|
|
|
|
namespace Avalonia.Controls.Platform |
|
|
|
{ |
|
|
|
|
|
|
|
@ -4,13 +4,17 @@ using System.Linq; |
|
|
|
using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using Avalonia.Controls; |
|
|
|
using Avalonia.Controls.Platform; |
|
|
|
using Avalonia.Metadata; |
|
|
|
using Avalonia.Platform; |
|
|
|
using static Avalonia.Controls.Platform.IWin32OptionsTopLevelImpl; |
|
|
|
|
|
|
|
namespace Avalonia.Controls.Platform |
|
|
|
namespace Avalonia.Controls |
|
|
|
{ |
|
|
|
public static class Win32SpecificOptions |
|
|
|
/// <summary>
|
|
|
|
/// Set of Win32 specific properties and events that allow deeper customization of the application per platform.
|
|
|
|
/// </summary>
|
|
|
|
public static class Win32Properties |
|
|
|
{ |
|
|
|
public delegate (uint style, uint exStyle) CustomWindowStylesCallback(uint style, uint exStyle); |
|
|
|
public delegate IntPtr CustomWndProcHookCallback(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam, ref bool handled); |
|
|
|
@ -27,7 +27,7 @@ using System.Diagnostics; |
|
|
|
using Avalonia.Platform.Storage.FileIO; |
|
|
|
using Avalonia.Threading; |
|
|
|
using static Avalonia.Controls.Platform.IWin32OptionsTopLevelImpl; |
|
|
|
using static Avalonia.Controls.Platform.Win32SpecificOptions; |
|
|
|
using static Avalonia.Controls.Win32Properties; |
|
|
|
|
|
|
|
namespace Avalonia.Win32 |
|
|
|
{ |
|
|
|
|