Skip to content

Commit

Permalink
Add deprecated attributes for Frame and Compatibility.Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamescaper committed Nov 13, 2024
1 parent 32d2632 commit 5f858c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/BlazorBindings.Maui/Elements/Compatibility/Layout.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace BlazorBindings.Maui.Elements.Compatibility;


[Obsolete("Use Microsoft.Maui.Controls.Layout instead. For more information, see https://learn.microsoft.com/dotnet/maui/user-interface/layouts/custom")]
public partial class Layout;
4 changes: 4 additions & 0 deletions src/BlazorBindings.Maui/Elements/Frame.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
namespace BlazorBindings.Maui.Elements;

[Obsolete("Frame is obsolete as of .NET 9. Please use Border instead.")]
public partial class Frame;

0 comments on commit 5f858c0

Please sign in to comment.