question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: Provide an additional TabView "skin" that is based on the WCT TabView

See original GitHub issue

Proposal: Provide an additional TabView “skin” that is based on the WCT look

Summary

A lot of people coming from the Windows Community Toolkit TabView prefer the look of the WCT TabView compared to the WinUI TabView. To make the switch to the WinUI TabView easier, we should have a WinUI TabView style which is based on the look of the WCT TabView.

Rationale

Since the WCT TabView is deprecated now, and will be removed at some point, people would either need to move the WinUI TabView despite prefering the WCT look or fork the WCT TabView and maintain it themselves. By providing a style that uses the WinUI TabView and looks like the WCT TabView, we would allow people to use the style they prefer.

This is also something some people already asked about (to some degree): Request to have the WinUI TabView styled the same as the WCT Wish to have Acrylic and Reveal in WinUI TabView

Important Notes

Possible API:

<!-- WinUI Fluent TabView -->
<muxc:TabView />

<!-- WinUI TabView with look based on WCT-->
<muxc:TabView Style="{StaticResource BoxTabViewStyle}" />

Comparison

WinUI TabView

gif

image

gif

image

WCT TabView

gif

image

gif

image

Open Questions

Where should this new style be hosted? Inside WinUI since it is a WinUI control or maybe somewhere else?

What should the new “skin” be called?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:12
  • Comments:18 (14 by maintainers)

github_iconTop GitHub Comments

3reactions
chingucodingcommented, Jun 2, 2020

@chingucoding could you provide pictures as well?

Sure thing @StephenLPeters, I’ve updated the issue to include gifs and pictures showing both versions.

2reactions
mdtaukcommented, Jun 3, 2020

I would expect this be a named style as opposed to an API on TabView. @chigy Is there a precedent/pattern for providing multiple styles for the same control ?

There is the AccentButton Style, as well as an Icon Button and Text Button

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature tracking
Proposal: Provide an additional TabView "skin" that is based on the WCT TabView #2587 opened by chingucoding area-TabView feature proposal
Read more >
Dynamic TabView in SwiftUI - Rudrank Riyam - Medium
Screen with dynamic tab items. I am working on an upcoming project that helps a developer visualize many elements on the screen with...
Read more >
SwiftUI - Putting a bar above the TabView?
I'd like to unify the code and put it into the TabView as a one off. var body: some View { VStack {...
Read more >
Custom Tab view in SwiftUI : r/swift
Just use enums for navigation, after tapping a tab button select enum value and show the correct view depending on the selected enum....
Read more >
Working with the Tab View in SwiftUI
Learn how to create tab bar based applications in SwiftUI with the Tab view, how to deal with tab items, and other interesting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found