Sharing a Single Style with Heterogeneous Elements
来源:互联网 发布:淘宝p图怎么p 编辑:程序博客网 时间:2024/06/06 11:45
Heterogeneous elements given the same Style.
<StackPanel Orientation=”Horizontal”>
<StackPanel.Resources>
<Style x:Key=”controlStyle”>
<Setter Property=”Control.FontSize” Value=”22”/>
<Setter Property=”Control.Background” Value=”Purple”/>
<Setter Property=”Control.Foreground” Value=”White”/>
<Setter Property=”Control.Height” Value=”50”/>
<Setter Property=”Control.Width” Value=”50”/>
<Setter Property=”Control.RenderTransformOrigin” Value=”.5,.5”/>
<Setter Property=”Control.RenderTransform”>
<Setter.Value>
<RotateTransform Angle=”10”/>
</Setter.Value>
</Setter>
</Style>
</StackPanel.Resources>
<Button Style=”{StaticResource controlStyle}”>1</Button>
<ComboBox Style=”{StaticResource controlStyle}”>
<ComboBox.Items>2</ComboBox.Items>
</ComboBox>
<Expander Style=”{StaticResource controlStyle}” Content=”3”/>
<TabControl Style=”{StaticResource controlStyle}”>
<TabControl.Items>4</TabControl.Items>
</TabControl>
<ToolBar Style=”{StaticResource controlStyle}”>
<ToolBar.Items>5</ToolBar.Items>
</ToolBar>
<InkCanvas Style=”{StaticResource controlStyle}”/>
<TextBox Style=”{StaticResource controlStyle}” Text=”7”/>
</StackPanel>
- Sharing a Single Style with Heterogeneous Elements
- Style page elements with CSS
- How to submmit a couple of jobs with condor in a heterogeneous pool?
- The Elements of Style
- The Elements of Style
- The Elements of Style
- Sharing repository with GIT
- opencl with dx sharing
- Sharing Files with NFC
- The Elements of C++ Style
- The Elements of Programming Style
- The Elements of Programming Style
- The Elements of Programming Style
- The Elements of Programming Style
- The Elements of Programming Style
- The Elements of Programming Style
- The elements of programming style
- The Elements of Programming Style
- Swing 中设置模态窗体和启动位置
- 电源管理
- 简单几招 就能让操作系统不再假死机
- 计划任务工具 cron 的配置和说明
- 如何调试今日插件,tray Icon,以及DLL。
- Sharing a Single Style with Heterogeneous Elements
- Spring MVC 入门
- 一个简单的spring mvc实例
- 准备书籍名称收藏
- Pocket PC 程序设计小技巧
- Freemarker学习归纳(二)
- 女人之味
- 服务器端的操作
- 一上传带图片的新闻.提交后就是个白屏 php 168 白屏问题?