如何在Wpf中设置颜色窗口 [英] How Can I Set Color Window In Wpf
本文介绍了如何在Wpf中设置颜色窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在wpf中设置颜色窗口
解决方案
< Window x:Class = WpfApplication5.MainWindow
xmlns = http://schemas.microsoft.com/winfx/2006/xaml/presentation
xmlns:x = http://schemas.microsoft.com/winfx/2006/xaml
Title = MainWindow高度= 350 Width = 525 >
< Border BorderBrush = 红色 BorderThickness = 2 >
< / Border < span class =code-keyword>>
< / Window >
这将在里面添加一个红色边框。 />
不幸的是它不清楚,你想要什么,所以我不得不猜...
怎么样这个:
在WPF中创建自定义Windows轻松 [ ^ ]
how can i set color window in wpf
解决方案
<Window x:Class="WpfApplication5.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"> <Border BorderBrush="Red" BorderThickness="2"> </Border> </Window>
This will add a red border inside.
Unfortunately it is not clear, what you want, so I have to guess...
What about this:
Create Custom Windows in WPF with Ease[^]
这篇关于如何在Wpf中设置颜色窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文