• 大小: 715KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-01
  • 语言: C#
  • 标签: wpf  datagrid  checkbox  

资源简介

很简单的datagrid 复选框示例,使用DataGridTemplateColumn列,HeaderTemplate与CellTemplate,标题栏可以全选或反选所有的行

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace WpfApplication1
{
    /// 
    /// App.xaml 的交互逻辑
    /// 

    public partial class App : Application
    {
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        326  2018-02-28 00:26  WpfApplication1\App.xaml

     文件        311  2018-02-28 00:26  WpfApplication1\App.xaml.cs

     文件     167808  2010-10-19 11:30  WpfApplication1\bin\Debug\Microsoft.Windows.Shell.dll

     文件     302592  2010-10-19 11:17  WpfApplication1\bin\Debug\Microsoft.Windows.Shell.pdb

     文件      51889  2010-10-18 23:33  WpfApplication1\bin\Debug\Microsoft.Windows.Shell.xml

     文件     778616  2010-10-19 15:08  WpfApplication1\bin\Debug\RibbonControlsLibrary.dll

     文件    1711616  2010-10-19 12:38  WpfApplication1\bin\Debug\RibbonControlsLibrary.pdb

     文件     797060  2010-10-18 23:33  WpfApplication1\bin\Debug\RibbonControlsLibrary.xml

     文件      14848  2018-03-07 16:46  WpfApplication1\bin\Debug\WpfApplication1.exe

     文件      28160  2018-03-07 16:46  WpfApplication1\bin\Debug\WpfApplication1.pdb

     文件      24216  2018-03-07 16:46  WpfApplication1\bin\Debug\WpfApplication1.vshost.exe

     文件       2095  2018-03-07 16:46  WpfApplication1\MainWindow.xaml

     文件       3522  2018-03-07 16:46  WpfApplication1\MainWindow.xaml.cs

     文件       2360  2018-03-07 16:45  WpfApplication1\obj\Debug\App.g.cs

     文件       2360  2018-03-07 16:45  WpfApplication1\obj\Debug\App.g.i.cs

     文件       7345  2018-03-07 16:46  WpfApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       3845  2018-03-03 11:24  WpfApplication1\obj\Debug\InputRegn.g.i.cs

     文件       2366  2018-03-07 16:46  WpfApplication1\obj\Debug\MainWindow.baml

     文件       5769  2018-03-07 16:46  WpfApplication1\obj\Debug\MainWindow.g.cs

     文件       5769  2018-03-07 16:46  WpfApplication1\obj\Debug\MainWindow.g.i.cs

     文件       3526  2018-03-03 11:24  WpfApplication1\obj\Debug\Regn.g.i.cs

     文件       1562  2018-03-07 16:46  WpfApplication1\obj\Debug\WpfApplication1.csproj.FileListAbsolute.txt

     文件        919  2018-03-07 16:45  WpfApplication1\obj\Debug\WpfApplication1.csproj.GenerateResource.Cache

     文件      14848  2018-03-07 16:46  WpfApplication1\obj\Debug\WpfApplication1.exe

     文件       2594  2018-03-07 16:46  WpfApplication1\obj\Debug\WpfApplication1.g.resources

     文件      28160  2018-03-07 16:46  WpfApplication1\obj\Debug\WpfApplication1.pdb

     文件        180  2018-03-07 16:45  WpfApplication1\obj\Debug\WpfApplication1.Properties.Resources.resources

     文件        287  2018-03-07 16:46  WpfApplication1\obj\Debug\WpfApplication1_MarkupCompile.cache

     文件        289  2018-03-07 16:46  WpfApplication1\obj\Debug\WpfApplication1_MarkupCompile.i.cache

     文件        420  2018-03-02 22:16  WpfApplication1\PointEntity.cs

............此处省略19个文件信息

评论

共有 条评论