1. 懂c#的进!我设计了一个wpf程序。界面上有两个radiobutton控件,还有一个button控件。还没写完的部分代码
private void radioButton1_Checked(object sender, RoutedEventArgs e);
{
message.show(" ");
}
private void radioButton2_Checked(object sender, RoutedEventArgs e)
{
message.show(" ");
}
这俩事件去掉不就可以了 只要 button1_Click
radioButton1 radioButton2 写到一个组里面
2. 求WPF入门实例教程包含源码。
http://www.pudn.com/downloads291/sourcecode/windows/detail1309737.html
wpf入门教程,给初学wpf的同学一些帮助,挺不错的,在此分享一下。
O(∩_∩)O~
3. C# 界面设计
要想自定义皮肤,别想着用第三方控件或者源码.尝试学习一下GDI+的绘图,大体明白以后.重写winform的paint事件,不过个人认为你还不如直接去学习wpf,基本上他能满足你绝大部分对UI的要求,而且将来的windows应用程序也一定全是基于wpf的,何不学习一个新的技术来解决老问题呢?
4. WPF 是什么意思(C#)
WPF(Windows Presentation Foundation)是微软推出的基于Windows 的用户界面框架,属于.NET Framework 3.0的一部分。它提供了统一的编程模型、语言和框架,真正做到了分离界面设计人员与开发人员的工作;同时它提供了全新的多媒体交互用户图形界面。
WPF 为Windows Presentation Foundation的首字母缩写 ,中文译为“Windows呈现基础”,其原来代号为“Avalon”,因与“我佩服”拼音首字母组合一样,国内有人调侃地称之为“我佩服”。由 .NET Framework 3.0 开始引入,与 Windows Communication Foundation及 Windows Workflow Foundation并行为新一代 Windows操作系统以及 WinFX 的三个重大应用程序开发类库。
(4)wpf商业界面设计源码扩展阅读:
国内即时通讯领导商腾讯Tencent曾经发布过一款基于WPF的QQ 概念版(QQ 概念版:QQ 概念版是腾讯首款NUI(自然用户交互)产品,全面实现了多点触摸操作。在实现IM的基础功能外,QQ概念版还推出了动感相框、动态背景、多Tab聊天窗口、3D交互、矢量界面、桌面好友等一系列新功能、新体验以及Windows7的重要新特性。
5. WPF界面设计
其实这跟tabControl样式无关,跟tabItem样式有关。tabControl只是用来放tabItem和内容的容器。
用blend打开TabItem模板。去掉border的margin。去掉一些不必要的trigger值。调整下tabitem的padding属性使得留余地给三角。
假设
<Setter Property="Padding" Value="6,1,6,10"/>
然后在Grid里面加一个Pah
<Grid SnapsToDevicePixels="true">
<Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}">
<ContentPresenter x:Name="Content" ContentSource="Header" HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
</Border>
<Path x:Name="triPath" Data="M49,34 L56.5,16.5 64.5,33.5" Fill="blue" Visibility="Collapsed" HorizontalAlignment="center" Stretch="Fill" Stroke="Black" Width="20" Height="10" VerticalAlignment="Bottom"/>
</Grid>
最后在<Trigger Property="IsSelected" Value="true">里加
<Setter Property="Visibility" TargetName="triPath" Value="Visible"/>
6. WPF的UI设计源码在哪里可以搞到
个人不河北的方便和如何色入
7. 求wpf 整套第三方控件,最好有源码,图表、仪表等
http://wpftoolkit.codeplex.com/
Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 250,000 times here and on Nuget.
扩展WPF工具包™是WPF控件,组件和实用的头号集合,用于创建下一代Windows应用程序。用它来构建专业的,现代的,易于使用的业务线应用程序。扩展WPF工具包项目已被下载超过25万次,并在这里对的NuGet。(谷歌翻译)