-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add Win32Properties.WindowCornerHintProperty attached property
- Loading branch information
Showing
4 changed files
with
87 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System; | ||
|
||
namespace Avalonia.Platform; | ||
|
||
/// <summary> | ||
/// Specifies hints for window corner appearance. | ||
/// </summary> | ||
[Flags] | ||
public enum Win32WindowCornerHints | ||
{ | ||
/// <summary> | ||
/// Default Avalonia behavior. | ||
/// </summary> | ||
NoHint, | ||
|
||
/// <summary> | ||
/// The platform's default corner style. | ||
/// </summary> | ||
PlatformDefault, | ||
|
||
/// <summary> | ||
/// Rounded corners for the window. | ||
/// </summary> | ||
Rounded, | ||
|
||
/// <summary> | ||
/// Prevents corners from being rounded. | ||
/// </summary> | ||
DoNotRound | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters