Proposal: Visual Studio xaml editor is not showing color inline preview when using AppThemeBinding in Xamarin
See original GitHub issueRelated link to Xamarin.Forms repo: https://github.com/xamarin/Xamarin.Forms/pull/11012 Themes for Xamarin.Forms enables to fast implementation of dark/light themes.
when using for example:
<Label Text="Xamarin.Forms!" TextColor="{AppThemeBinding Dark=#2196F3, Light=#2196F3}"/>
Summary
Visual studio should display an incline color preview near beside Dark=#2196F3
" and Light=#2196F3
the same way it did for something like: <Label TextColor="#2196F3"/>
Rationale
- Because you are setting a color hex code it make sens to have preview inline for it.
Note: I am not able to report this thru visual studio because of some session issues, if this is not the right place please someone report this as a visual studio issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
visual studio - xaml designer or previewer is not showing
I looked for an answer and I did all the community recommendations but nothing works. I'm start thinking that Xamarin.Forms doesn't have a ......
Read more >How to turn off "Inline Color Previews in XAML Code Editor"?
You can find it at Tools -> Options -> Text Editor ->XAML -> Miscellaneous -> Preview - Show inline color previews. Thanks,. Lingling.....
Read more >Drawing UI with Xamarin.Forms Shapes and Paths
Introducing Xamarin.Forms 4.7 powerful new drawing controls for Shapes and Paths which helps you generate custom designs.
Read more >XAML Live Preview: Capture and edit desktop app UI
To open it, go to Debug > Windows > XAML Live Preview. Screenshot of the XAML Live Preview option from the Debug menu...
Read more >how to customize colorAccent when changing the theme
I am developing an application under xamarin.forms. I am using AppThemeBinding to apply colors suitable for light or dark theme: App.xaml.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing as duplicate in Xamarin.Forms repo.
@Cfun1 J.P is correct this seems like a Xamarin issue, please be sure to report it in our repo for triage. Thanks!