WPF的window和page有什么区别,DXWindow怎么创建
1个回答
展开全部
window是应用程序用的,page是网页用的
背景色设置简单,但是背景图片就复杂点了
<Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="60,134,0,0" Name="button1" VerticalAlignment="Top" Width="75">
<Button.Background>
<ImageBrush>
<ImageBrush.ImageSource>
<BitmapImage UriSource="Image/loginicon.png">
</BitmapImage>
</ImageBrush.ImageSource>
</ImageBrush>
</Button.Background>
</Button>
背景色设置简单,但是背景图片就复杂点了
<Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="60,134,0,0" Name="button1" VerticalAlignment="Top" Width="75">
<Button.Background>
<ImageBrush>
<ImageBrush.ImageSource>
<BitmapImage UriSource="Image/loginicon.png">
</BitmapImage>
</ImageBrush.ImageSource>
</ImageBrush>
</Button.Background>
</Button>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询