⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zonesmartpartinfo.cs

📁 wpf和cab的结合使用源码(转载)
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using Microsoft.Practices.CompositeUI;
using Microsoft.Practices.CompositeUI.SmartParts;

namespace Microsoft.Practices.CompositeUI.Windows
{
	/// <summary>
	/// A <see cref="SmartPartInfo"/> that describes how a specific smartpart will be shown in a zone workspace.
	/// </summary>
	[ToolboxItem(true)]
	[ToolboxBitmap(typeof(ZoneSmartPartInfo), "ZoneSmartPartInfo")]
	public class ZoneSmartPartInfo : SmartPartInfo
	{
		private string _zoneName;

		public ZoneSmartPartInfo()
		{
		}

		public ZoneSmartPartInfo(string zoneName)
		{
			_zoneName = zoneName;
		}

		public ZoneSmartPartInfo(string title, string zoneName)
		{
			Title = title;
			_zoneName = zoneName;
		}

		[Category("Layout")]
		[DefaultValue(null)]
		public string ZoneName
		{
			get
			{
				return _zoneName;
			}
			set
			{
				_zoneName = value;
			}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -