WPF Tutorial: Themes in WPF | Switch Themes | Visual studio | C#

Поделиться
HTML-код
  • Опубликовано: 21 окт 2023
  • Hello folks!!! This is me Ronak, and I am back with a new video on how to use user controls in WPF
    In WPF we define a UI resource system (mostly in XAML resource dictionaries) which includes colors, templates, icons, styles and so on. Sometimes, we need the ability to change our application’s look and feel dynamically, allowing different Themes or Skins.
    We might have Shared resources for all Themes and Dynamic resources based on the current Theme or Skin.
    This video talks about the different ways to build a theming/skinning infrastructure in a WPF application.
    Hope you all like this video. If you do, please give this video a thumbs up.
    Like share and subscribe to my channel.
    Source Code : github.com/Ron391/ThemeTutori...
    Icons : icons8.com/
    Other video links
    • WPF Tutorial: Storyboa...
    • WPF Tutorial: DASHBOAR...
    • WPF Tutorial: Storyboa...
    • WPF Tutorial : XAML UI...
    • Get Started: Blend for...
    • WPF Tutorial: Nearby S...
    #UIDesign #UXDesign #VisualStudioBlend #Blend #Themes #styles #XAML #VectoArt
  • НаукаНаука

Комментарии • 12

  • @pccoder
    @pccoder 2 месяца назад

    VERY clear and well done. Thanks.

  • @williamliu8985
    @williamliu8985 7 месяцев назад +1

    Thanks! But the source code in link is not the same as the demo in video, could you please check?

    • @VectoArt
      @VectoArt  7 месяцев назад +2

      I am so sorry, i pasted the wrong link. Let me fix it now. You can check it now

    • @VectoArt
      @VectoArt  7 месяцев назад +2

      Its updated now.

    • @williamliu8985
      @williamliu8985 7 месяцев назад +2

      @@VectoArt Great!

    • @VectoArt
      @VectoArt  6 месяцев назад +1

      Do check out my other videos on my channel

  • @Alomare
    @Alomare 3 месяца назад +1

    In my App.Resources, I have two fonts. It won't accept the theme dictionary and the fonts at the same time. What do I do if I need to have multiple resources?

    • @VectoArt
      @VectoArt  3 месяца назад +1

      In a WPF .NET Framework project, you can load multiple resources using the MergedResourceDictionary class.

    • @VectoArt
      @VectoArt  3 месяца назад

      learn.microsoft.com/en-us/dotnet/desktop/wpf/systems/xaml-resources-merged-dictionaries?view=netdesktop-8.0

    • @Alomare
      @Alomare 3 месяца назад

      @@VectoArt Ty so much!

  • @user-hi9er1fk8v
    @user-hi9er1fk8v 3 месяца назад +1

    Thanks! Send me code

    • @VectoArt
      @VectoArt  3 месяца назад

      Link to GitHub is in the description