How can we improve the Windows dev platform?

OnDevice MarkupExtension

Maybe I could add my OnDevice MarkupExtension to the toolkit. It can be used for DeviceFamily specific property values. It is inspired on the OnPlatform/OnIdiom markup extensions from Xamarin.Forms 3.2

<TextBlock Text="{wme:OnDevice Desktop=Hello, Xbox=World}"
FontSize="{wme:OnDevice Team=42, IoT=60, Default=21}"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>

Source: https://github.com/sonnemaf/WindowsMarkupExtensions

7 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Fons Sonnemans shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base