CommunityToolkit / CommunityToolkit/Windows

Put `GridResizeDirection` and `GridResizeBehavior` directly in the `CommunityToolkit.WinUI` namespace

Offen
#718 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
components::controls::sizers enhancement
Vorherrschende Sprache
C#
Sterne
1.1k
Forks
166
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Discussed in https://github.com/CommunityToolkit/Labs-Windows/discussions/706

Originally posted by **0x5bfa** August 7, 2025
As the title describes, we should put them in the top-level namespace since putting enums inside a class make them harder to be discovered.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with discussion 706 for the rationale, then search the repository for GridResizeDirection and GridResizeBehavior to locate their declarations and usages. Move both enums to the CommunityToolkit.WinUI namespace and update references as needed; done means the project and relevant tests compile successfully with the new namespace.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
desktop
Issue-Typ
Refactoring
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.