📄 mutuallyexclusivecheckboxextender.cs
字号:
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.
using System.Web.UI;
using System.ComponentModel;
using System.Drawing;
[assembly: System.Web.UI.WebResource("AjaxControlToolkit.MutuallyExclusiveCheckBox.MutuallyExclusiveCheckBoxBehavior.js", "text/javascript")]
namespace AjaxControlToolkit
{
[TargetControlType(typeof(ICheckBoxControl))]
[RequiredScript(typeof(CommonToolkitScripts))]
[ClientScriptResource("AjaxControlToolkit.MutuallyExclusiveCheckBoxBehavior", "AjaxControlToolkit.MutuallyExclusiveCheckBox.MutuallyExclusiveCheckBoxBehavior.js")]
[Designer("AjaxControlToolkit.MutuallyExclusiveCheckBoxDesigner, AjaxControlToolkit")]
[ToolboxBitmap(typeof(MutuallyExclusiveCheckBoxExtender), "MutuallyExclusiveCheckBox.MutuallyExclusiveCheckBox.ico")]
public class MutuallyExclusiveCheckBoxExtender : ExtenderControlBase
{
/// <summary>
/// The unique key to use to associate checkboxes. This key does
/// not respect INamingContainer renaming.
/// </summary>
[ExtenderControlProperty]
[RequiredProperty]
public string Key
{
get { return GetPropertyValue("Key", string.Empty); }
set { SetPropertyValue("Key", value); }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -