Windows phone 8 触发器使用小结
来源:互联网 发布:淘宝低于几折不计销量 编辑:程序博客网 时间:2024/04/28 05:26
引用空间:
xmlns:ec="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
事件触发器
<toolkit:ListPicker SelectionMode="Single" x:Name="lp_area" ItemsSource="{Binding AreaRangeList}" ExpansionMode="ExpansionAllowed" SelectedIndex="0" Margin="0" BorderThickness="0"> <toolkit:ListPicker.HeaderTemplate> <DataTemplate> <TextBlock Text="区域范围" Foreground="White" FontSize="24"></TextBlock> </DataTemplate> </toolkit:ListPicker.HeaderTemplate> <i:Interaction.Triggers> <i:EventTrigger EventName="SelectionChanged"> <i:InvokeCommandAction Command="{Binding SelectedAreaChangedCommand}" CommandParameter="{Binding SelectedIndex ,ElementName=lp_area}"/> </i:EventTrigger> </i:Interaction.Triggers> </toolkit:ListPicker>
数据触发器
<TextBlock Text="300" Foreground="#000033" FontSize="15" Grid.Column="3" VerticalAlignment="Center" Margin="5,0,0,0"> <i:Interaction.Triggers> <ec:DataTrigger Binding="{Binding Text, ElementName=DialButton}" Value="5"> <ec:ChangePropertyAction PropertyName="Foreground" Value="Red"/> </ec:DataTrigger> </i:Interaction.Triggers></TextBlock>
- Windows phone 8 触发器使用小结
- 使用C++开发Windows phone 8游戏
- windows phone 8中使用蓝牙
- Windows Phone 使用FlurrySdk
- Windows Phone 传感器使用
- Oracle 触发器的使用小结
- windows phone:使用本地数据库
- windows phone FluidMoveBehavior的使用
- windows phone:使用sqlite-net
- Windows Phone 加速度计的使用
- windows phone GestureService 的使用
- Windows Phone 8
- windows Phone 8 (1)
- windows Phone 8 (2)
- windows Phone 8 (3)
- windows Phone 8 (4)
- windows Phone 8 (5)
- windows Phone 8 (6)
- Vertica 6.1.3 SQLState 列表
- 利用SQOOP将数据从数据库导入到HDFS
- 关于文件中的0D、0A
- Linux scp 使用详解
- JavaScript学习篇之——Jquery
- Windows phone 8 触发器使用小结
- JQuery 判断某个属性是否存在 hasAttr
- 字符串统计の每个字母出现的个数
- 反向键索引
- 简约大气的AnyCodeX在线编程网站全新升级啦!支持九种语言,多文件,标准输入,命令行参数,代码下载。还有语法高亮,语法纠错,代码块折叠以及全屏模式哦!
- 查找本级及下级的所有组织的sql
- Calling a web-service from a Unity3D scene
- E437: terminal capability "cm" required
- android 中 系统日期时间的获取