XAML设置RadNumericUpDown的NumberFormatInfo
来源:互联网 发布:大拿监控软件下载 编辑:程序博客网 时间:2024/05/16 06:33
原文出处:http://www.telerik.com/community/forums/wpf/numeric-up-down/setting-numberformatinfo-in-xaml.aspx
<Window x:Class="NumericUpDown.NumericWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:globalization="clr-namespace:System.Globalization;assembly=mscorlib" xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" Title="NumericTestWindow" Height="300" Width="300"> <Window.Resources> <globalization:NumberFormatInfo x:Key="numberFormatInfo" NumberDecimalDigits="0" /> </Window.Resources> <Grid x:Name="LayoutRoot" Background="White"> <telerik:RadNumericUpDown x:Name="Numeric1" ValueFormat="Numeric" Height="25" Width="100" SmallChange="1" NumberFormatInfo="{StaticResource numberFormatInfo}" Maximum="10" Value="5" /> </Grid> </Window>
- XAML设置RadNumericUpDown的NumberFormatInfo
- 【WPF】Xaml设置图标
- WPF中App.xaml中ShutdownMode值设置的区别
- WPF中App.xaml中ShutdownMode值设置的区别
- System.Globalization.NumberFormatInfo 的 30个属性、1个构造函数和10个方法
- XAML语言的调试方法。Silverlight 5 beta新特性探索系列:2.在XAML代码中设置断点和
- XAML代码设置附加属性
- XAML 的音标
- XAML的执行方式
- XAML的执行层次
- XAML的命名空间
- App.xaml的作用
- XAML的事件
- XAML
- XAML
- XAML
- XAML
- XAML
- 自话遗传算法(带实例)
- 软件测试总结
- 操作系统:从实模式切换到保护模式
- 示例:DOS下串口通信源程序
- CSS里的 no-repeat 是什么意思
- XAML设置RadNumericUpDown的NumberFormatInfo
- mediawiki 1.21.1版本二次开发的问题集
- 细菌繁殖
- js 通过 this 传 id
- error:org.hibernate.LazyInitializationException: could not initialize proxy - no Session
- SecureCRT 实用配置
- 12) 类型安全的任意类CAnyObject [原创,泛型编程,自由下载转载,需注明出处]
- linux下的定时执行工具-直接用crontab命令编辑
- Android设备是否连接网络