How to set background image using ImageBrush in C# WPF
How to set background image using ImageBrush in C# WPF
Back ground in WPF application can be set using XAML at design time or at run time. Using XAML we do it as follows
<Window.Background> <ImageBrush ImageSource="images\abstract-art-artistic-background-1103970 (1).jpg"/> </Window.Background>
At Runtime
Using some code you can change back ground of WPF /C# application using ImageBrush and BitmapImage object as follows
Create
View On WordPress












