CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 Windows编程 界面编程

文件名称:WPFSimpleChromeWindow

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    76.99kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

在WPF中模拟ChildWindow效果

原理很简单,关键点就是如何定义ChildWindow样式和使用DataTemplate动态显示控件,注意这里Content并没有显式定义ItemTemplate,它会默认应用资源里的DataTemplate定义,通过绑定到DialogViewModel,DataTemplate会根据DialogViewModel的DataType类型选择显示不同的子窗体,同时子窗体的DataContext会自动关联到该DialogViewModel类型的实体-In WPF, the principle is very simple simulation of the effect ChildWindow, ChildWindow key point is how to define the dynamic styles and use a DataTemplate to display control, attention here is not explicitly defined Content ItemTemplate, it will default application resources in the DataTemplate to define, by binding to DialogViewModel, DataTemplate DataType of the type according to DialogViewModel choose to display different sub-forms, while the child form' s DataContext will be automatically associated with the types of entities that DialogViewModel
(系统自动生成,下载前可以参看下载内容)

下载文件列表

SimpleWindowChrome/
SimpleWindowChrome/CustomControl/
SimpleWindowChrome/CustomControl/bin/
SimpleWindowChrome/CustomControl/bin/Debug/
SimpleWindowChrome/CustomControl/CaptionButton.cs
SimpleWindowChrome/CustomControl/CloseButton.cs
SimpleWindowChrome/CustomControl/CustomChromeWindow.cs
SimpleWindowChrome/CustomControl/CustomControl.csproj
SimpleWindowChrome/CustomControl/CustomControl.csproj.user
SimpleWindowChrome/CustomControl/HelpButton.cs
SimpleWindowChrome/CustomControl/Images/
SimpleWindowChrome/CustomControl/Images/close.png
SimpleWindowChrome/CustomControl/Images/maximize.png
SimpleWindowChrome/CustomControl/Images/minimize.jpg
SimpleWindowChrome/CustomControl/Images/restore.png
SimpleWindowChrome/CustomControl/MaximizeButton.cs
SimpleWindowChrome/CustomControl/MinimizeButton.cs
SimpleWindowChrome/CustomControl/obj/
SimpleWindowChrome/CustomControl/obj/Debug/
SimpleWindowChrome/CustomControl/obj/Debug/CaptionButtons.g.i.cs
SimpleWindowChrome/CustomControl/obj/Debug/CaptionButtonsWithHelp.g.i.cs
SimpleWindowChrome/CustomControl/obj/Debug/CustomChormeWindow.g.i.cs
SimpleWindowChrome/CustomControl/obj/Debug/CustomControl_MarkupCompile.i.cache
SimpleWindowChrome/CustomControl/obj/Debug/CustomControl_MarkupCompile.i.lref
SimpleWindowChrome/CustomControl/obj/Debug/DesignTimeResolveAssemblyReferences.cache
SimpleWindowChrome/CustomControl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
SimpleWindowChrome/CustomControl/obj/Debug/GeneratedInternalTypeHelper.g.i.cs
SimpleWindowChrome/CustomControl/obj/Debug/TempPE/
SimpleWindowChrome/CustomControl/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
SimpleWindowChrome/CustomControl/obj/Debug/Themes/
SimpleWindowChrome/CustomControl/Properties/
SimpleWindowChrome/CustomControl/Properties/AssemblyInfo.cs
SimpleWindowChrome/CustomControl/Properties/Resources.Designer.cs
SimpleWindowChrome/CustomControl/Properties/Resources.resx
SimpleWindowChrome/CustomControl/Properties/Settings.Designer.cs
SimpleWindowChrome/CustomControl/Properties/Settings.settings
SimpleWindowChrome/CustomControl/Themes/
SimpleWindowChrome/CustomControl/Themes/CustomWindowGeneric.xaml
SimpleWindowChrome/CustomControl/Themes/Generic.xaml
SimpleWindowChrome/SimpleWindowChrome/
SimpleWindowChrome/SimpleWindowChrome.sln
SimpleWindowChrome/SimpleWindowChrome.suo
SimpleWindowChrome/SimpleWindowChrome/App.xaml
SimpleWindowChrome/SimpleWindowChrome/App.xaml.cs
SimpleWindowChrome/SimpleWindowChrome/bin/
SimpleWindowChrome/SimpleWindowChrome/bin/Debug/
SimpleWindowChrome/SimpleWindowChrome/bin/Debug/SimpleWindowChrome.vshost.exe
SimpleWindowChrome/SimpleWindowChrome/bin/Debug/SimpleWindowChrome.vshost.exe.manifest
SimpleWindowChrome/SimpleWindowChrome/MainWindow.xaml
SimpleWindowChrome/SimpleWindowChrome/MainWindow.xaml.cs
SimpleWindowChrome/SimpleWindowChrome/obj/
SimpleWindowChrome/SimpleWindowChrome/obj/x86/
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/App.g.i.cs
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/MainWindow.g.i.cs
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/SimpleWindowChrome_MarkupCompile.i.cache
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/TempPE/
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/Window1.g.i.cs
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/Window2.g.i.cs
SimpleWindowChrome/SimpleWindowChrome/obj/x86/Debug/Window3.g.i.cs
SimpleWindowChrome/SimpleWindowChrome/Properties/
SimpleWindowChrome/SimpleWindowChrome/Properties/AssemblyInfo.cs
SimpleWindowChrome/SimpleWindowChrome/Properties/Resources.Designer.cs
SimpleWindowChrome/SimpleWindowChrome/Properties/Resources.resx
SimpleWindowChrome/SimpleWindowChrome/Properties/Settings.Designer.cs
SimpleWindowChrome/SimpleWindowChrome/Properties/Settings.settings
SimpleWindowChrome/SimpleWindowChrome/SimpleWindowChrome.csproj
SimpleWindowChrome/SimpleWindowChrome/Window1.xaml
SimpleWindowChrome/SimpleWindowChrome/Window1.xaml.cs
SimpleWindowChrome/SimpleWindowChrome/Window2.xaml
SimpleWindowChrome/SimpleWindowChrome/Window2.xaml.cs
SimpleWindowChrome/SimpleWindowChrome/Window3.xaml
SimpleWindowChrome/SimpleWindowChrome/Window3.xaml.cs

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com