I can add image to WPF with Icon's name using:
But is there an easy way to set its size inside WPF windows by just using Icon's name without converting FrameworkElement -> Bitmap -> Base64 -> BitmapFrame then assign it to Image.Source
But is there an easy way to set its size inside WPF windows by just using Icon's name without converting FrameworkElement -> Bitmap -> Base64 -> BitmapFrame then assign it to Image.Source

How to add Image of any size using "XAML icon name" to a WPF window