使用 C#,如何设置背景图片的 TileMode 和 Stretch 属性?
StackPanel1.Background = new ImageBrush(new ....); // OK
StackPanel1.Background = Stretch.Uniform; //this doesn't work...
使用 C#,如何设置背景图片的 TileMode 和 Stretch 属性?
StackPanel1.Background = new ImageBrush(new ....); // OK
StackPanel1.Background = Stretch.Uniform; //this doesn't work...