上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页
摘要: WPF 自定义的窗口拖动 WPF原有的窗口样式太丑,当我们重新定义窗口时,则需要添加一些额外的功能,如拖动~ 1、在界面上对布局元素如Grid,添加委托事件: MouseLeftButtonDown="UIElement_OnMouseLeftButtonDown" 2、委托方法中处理一下就行了: 阅读全文
posted @ 2016-09-17 21:17 白色的回忆 阅读(1218) 评论(0) 推荐(0) 编辑
摘要: 前台代码 xmlns:wpfApplication6="clr-namespace:WpfFormControl" <Button Content="{Binding Source={x:Static wpfApplication6:Title.aa},Converter={StaticResour 阅读全文
posted @ 2016-09-17 09:26 白色的回忆 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 前台xaml文件 <Window x:Class="Supplier.UserI" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winf 阅读全文
posted @ 2016-09-16 21:34 白色的回忆 阅读(618) 评论(0) 推荐(0) 编辑
摘要: xaml 文件 <Window x:Class="Supplier.TrendCharts" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com 阅读全文
posted @ 2016-09-16 21:05 白色的回忆 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 效果图: <Window x:Class="Ch12Sample_03.Window4" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2016-09-13 21:47 白色的回忆 阅读(185) 评论(0) 推荐(0) 编辑
摘要: TextBox <Window x:Class="WpfDemo.ListBoxTemaple" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.c 阅读全文
posted @ 2016-09-01 23:40 白色的回忆 阅读(1799) 评论(0) 推荐(0) 编辑
摘要: 这一节的讲解中,我将为大家介绍WPF装饰控件的用法,主要为大家讲解一下几个控件的用法. ScrollViewer滚动条控件 Border边框控件 ViewBox自由缩放控件 1. ScrollViewer滚动条控件 大家知道在WPF中的一些布局控件中是不带滚动条的,如果里面的内容控件超过了外面布局控 阅读全文
posted @ 2016-08-31 21:35 白色的回忆 阅读(647) 评论(0) 推荐(0) 编辑
摘要: <Grid> <TabControl Name="tabControl1"> <TabItem Name="tabItem1"> <TabItem.Header> <Button Content="adsf"/> </TabItem.Header> <StackPanel> <TextBlock>T 阅读全文
posted @ 2016-08-31 21:34 白色的回忆 阅读(580) 评论(0) 推荐(0) 编辑
摘要: <Grid> <Grid.RowDefinitions> <RowDefinition></RowDefinition> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <Expander Header="可以折叠" Name="expa 阅读全文
posted @ 2016-08-31 21:31 白色的回忆 阅读(402) 评论(0) 推荐(0) 编辑
摘要: [WPF]静态资源(StaticResource)和动态资源(DynamicResource) [WPF]静态资源(StaticResource)和动态资源(DynamicResource) 2014-11-03 21:37 4172人阅读 评论(0) 收藏 举报 2014-11-03 21:37  阅读全文
posted @ 2016-08-24 17:33 白色的回忆 阅读(480) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页