随笔分类 - UWP
摘要:VisualState 之 StateTrigger 示例1、自定义 StateTriggerControls/UI/VisualState/MyDeviceFamilyStateTrigger.cs 2、自定义 StateTriggerControls/UI/VisualState/MyInput
阅读全文
摘要:StaticResource ThemeResource 示例1、演示“StaticResource”相关知识点Resource/StaticResourceDemo.xaml Resource/StaticResourceDemo.xaml.cs 2、演示“ThemeResource”相关知识点R
阅读全文
摘要:CustomResource ResourceDictionary 加载外部的 ResourceDictionary 文件 示例1、演示“CustomResource”相关知识点Resource/CustomResourceTest.cs Resource/CustomResourceDemo.xa
阅读全文
摘要:Stroke - 笔划 Brush - 画笔 示例1、演示“Stroke”相关知识点Drawing/Stroke.xaml 2、演示“Brush”相关知识点Drawing/Brush.xaml Drawing/Brush.xaml.cs
阅读全文
摘要:Shape - 图形 Path - 路径 示例1、演示“Shape”相关知识点Drawing/Shape.xaml 2、演示“Path”相关知识点Drawing/Path.xaml
阅读全文
摘要:线性动画 - ColorAnimation, DoubleAnimation, PointAnimation 关键帧动画 - ColorAnimationUsingKeyFrames, DoubleAnimationUsingKeyFrames, PointAnimationUsingKeyFram
阅读全文
摘要:背水一战 Windows 10 之 动画 PopInThemeAnimation - 控件出现时的动画 PopOutThemeAnimation - 控件消失时的动画 FadeInThemeAnimation - 控件淡入的动画 FadeOutThemeAnimation - 控件淡出的动画 Poi
阅读全文
摘要:演示缓动(easing)的应用Animation/EasingAnimation.xaml Animation/EasingAnimation.xaml.cs
阅读全文
摘要:介绍背水一战 Windows 10 之 绑定 与 Element 绑定 与 Indexer 绑定 TargetNullValue - 当绑定数据为 null 时显示的值 FallbackValue - 当绑定失败时显示的值 示例1、演示如何与 Element 绑定Bind/BindingElemen
阅读全文
摘要:介绍背水一战 Windows 10 之 动画 ThemeTransition 的概述 EntranceThemeTransition - 页面间跳转时的过渡效果 ContentThemeTransition - 内容改变时的过渡效果 RepositionThemeTransition - 位置改变时
阅读全文
摘要:介绍背水一战 Windows 10 之 绑定 TemplateBinding 绑定 与 RelativeSource 绑定 与 StaticResource 绑定 示例1、演示 TemplateBinding 的用法Bind/TemplateBindingDemo.xaml 2、演示 Binding
阅读全文
摘要:介绍背水一战 Windows 10 之 绑定 DataContextChanged - FrameworkElement 的 DataContext 发生变化时触发的事件 UpdateSourceTrigger - 数据更新的触发方式 对绑定的数据做自定义转换 示例1、演示 DataContextC
阅读全文
摘要:背水一战 Windows 10 之 绑定 x:Bind 绑定 x:Bind 绑定之 x:Phase 使用绑定过程中的一些技巧 示例1、演示 x:Bind 绑定的相关知识点Bind/BindDemo.xaml Bind/BindDemo.xaml.cs 2、演示 x:Bind 绑定之 x:Phase
阅读全文
摘要:背水一战 Windows 10 之 绑定 通过 Binding 绑定对象 通过 x:Bind 绑定对象 通过 Binding 绑定集合 通过 x:Bind 绑定集合 示例1、演示如何通过 Binding 绑定对象Bind/BindingModel.xaml Bind/BindingModel.xam
阅读全文
摘要:介绍背水一战 Windows 10 之 MVVM(Model-View-ViewModel) 通过 Binding 或 x:Bind 结合 Command 实现,通过 ButtonBase 触发命令 示例1、ModelMVVM/Model/Product.cs MVVM/Model/ProductD
阅读全文
摘要:介绍背水一战 Windows 10 之 MVVM(Model-View-ViewModel) 通过 Binding 或 x:Bind 结合 Command 实现,通过非 ButtonBase 触发命令 示例1、ModelMVVM/Model/Product.cs MVVM/Model/Product
阅读全文
摘要:背水一战 Windows 10 之 MVVM(Model-View-ViewModel) 通过 x:Bind 实现 MVVM(不用 Command) 示例1、ModelMVVM/Model/Product.cs MVVM/Model/ProductDatabase.cs 2、ViewModelMVV
阅读全文
摘要:x:DeferLoadStrategy="Lazy" - 用于指定一个 UIElement 为一个延迟加载元素 x:Null - null 示例1、x:DeferLoadStrategy 通过 FindName 加载Xaml/DeferLoadStrategy/Demo1.xaml Xaml/Def
阅读全文
摘要:介绍背水一战 Windows 10 之 控件(文本类) TextBox PasswordBox 示例1、TextBox 的示例 1Controls/TextControl/TextBoxDemo1.xaml Controls/TextControl/TextBoxDemo1.xaml.cs 2、Te
阅读全文
摘要:1、TextBlock 的示例 1Controls/TextControl/TextBlockDemo1.xaml Controls/TextControl/TextBlockDemo1.xaml.cs 2、TextBlock 的示例 2Controls/TextControl/TextBlockD
阅读全文

浙公网安备 33010602011771号