Skip to content

Remove PanelExtensions.cs #11315

Closed
Closed

Description

@MartinZikmund

Current behavior

Breaking change, but I don't see how this could be useful (apart from potentially causing trouble :-D )

namespace Windows.UI.Xaml.Controls
{
	public static class PanelExtensions
	{
		public static FrameworkElement Background(this FrameworkElement panel, GenericColor color)
		{
			panel.Background = new SolidColorBrush(color);
			return panel;
		}
	}
}

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    on Feb 14, 2023
  2. MartinZikmund commented on Feb 14, 2023

    @MartinZikmund
    MemberAuthor
  3. self-assigned this
    on Feb 14, 2023
  4. jeromelaban commented on Feb 15, 2023

    @jeromelaban
    Member

    This is from a very long not used piece of code :) We can remove for sure.

  5. linked a pull request that will close this issuefix!: Remove PanelExtensions #11342on Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions