• 大小: 47KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-03
  • 语言: C#
  • 标签: WPF  缩放  拖拽  

资源简介

基于Canvas编写的 布局控件 可以实现 以鼠标为中心滚轮缩放 左键拖拽功能

资源截图

代码片段和文件信息

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

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

    public partial class App : Application
    {
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-12-23 20:42  ZoomCanvas\
     目录           0  2011-12-24 08:45  ZoomCanvas\EX\
     文件         313  2011-12-23 20:42  ZoomCanvas\EX\App.xaml
     文件         298  2011-12-23 20:42  ZoomCanvas\EX\App.xaml.cs
     目录           0  2011-12-23 20:42  ZoomCanvas\EX\bin\
     目录           0  2011-12-24 08:45  ZoomCanvas\EX\bin\Debug\
     文件       11608  2011-12-24 08:45  ZoomCanvas\EX\bin\Debug\EX.vshost.exe
     文件         490  2010-03-17 22:39  ZoomCanvas\EX\bin\Debug\EX.vshost.exe.manifest
     文件        5654  2011-12-24 08:45  ZoomCanvas\EX\EX.csproj
     文件         451  2011-12-24 08:45  ZoomCanvas\EX\EX.csproj.user
     文件        1165  2011-12-23 21:06  ZoomCanvas\EX\MainWindow.xaml
     文件        1180  2011-12-24 08:47  ZoomCanvas\EX\MainWindow.xaml.cs
     目录           0  2011-12-23 20:42  ZoomCanvas\EX\obj\
     目录           0  2011-12-23 20:42  ZoomCanvas\EX\obj\x86\
     目录           0  2011-12-24 08:45  ZoomCanvas\EX\obj\x86\Debug\
     文件        9287  2011-12-24 08:44  ZoomCanvas\EX\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6101  2011-12-24 08:47  ZoomCanvas\EX\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2011-12-23 20:42  ZoomCanvas\EX\obj\x86\Debug\TempPE\
     文件        4608  2011-12-23 20:42  ZoomCanvas\EX\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll
     目录           0  2011-12-23 20:42  ZoomCanvas\EX\Properties\
     文件        2193  2011-12-23 20:42  ZoomCanvas\EX\Properties\AssemblyInfo.cs
     文件        2854  2011-12-23 20:42  ZoomCanvas\EX\Properties\Resources.Designer.cs
     文件        5612  2011-12-23 20:42  ZoomCanvas\EX\Properties\Resources.resx
     文件        1087  2011-12-23 20:42  ZoomCanvas\EX\Properties\Settings.Designer.cs
     文件         201  2011-12-23 20:42  ZoomCanvas\EX\Properties\Settings.settings
     文件        9216  2011-12-23 21:16  ZoomCanvas\EX\ZoomCanvas.dll
     目录           0  2011-12-23 20:02  ZoomCanvas\ZoomCanvas\
     文件        2536  2011-12-23 20:42  ZoomCanvas\ZoomCanvas.sln
     文件       30720  2011-12-24 08:47  ZoomCanvas\ZoomCanvas.suo
     目录           0  2011-12-23 20:02  ZoomCanvas\ZoomCanvas\bin\
     目录           0  2011-12-24 08:47  ZoomCanvas\ZoomCanvas\bin\Debug\
............此处省略15个文件信息

评论

共有 条评论