Skip to content

Commit

Permalink
fix!: Make SolidColorBrushHelper internal
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `SolidColorBrushHelper` isn't available in UWP, so we are making it internal.
  • Loading branch information
Youssef1313 authored and jeromelaban committed Apr 25, 2023
1 parent 1582667 commit 706b5af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Uno.UI/UI/Xaml/SolidColorBrushHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

namespace Windows.UI.Xaml
{
public static class SolidColorBrushHelper
internal static class SolidColorBrushHelper
{
#if XAMARIN_IOS
public static SolidColorBrush FromARGB(byte a, byte r, byte g, byte b)
Expand All @@ -44,8 +44,8 @@ public static SolidColorBrush FromARGB(byte a, byte r, byte g, byte b)
#endif

/// <summary>
/// Takes a color code as an ARGB or RGB string and returns a solid color brush.
///
/// Takes a color code as an ARGB or RGB string and returns a solid color brush.
///
/// Remark: if single digits are used to define the color, they will
/// be duplicated (example: FFD8 will become FFFFDD88)
/// </summary>
Expand All @@ -55,8 +55,8 @@ public static SolidColorBrush FromARGB(string colorCode)
}

/// <summary>
/// Takes a color code as an ARGB or RGB, or textual string from <see cref="Colors"/> string and returns a solid color brush.
///
/// Takes a color code as an ARGB or RGB, or textual string from <see cref="Colors"/> string and returns a solid color brush.
///
/// Remark: if single digits are used to define the color, they will
/// be duplicated (example: FFD8 will become FFFFDD88)
/// </summary>
Expand Down

0 comments on commit 706b5af

Please sign in to comment.