📄 autocompletedesigner.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.WebControls;
using System.Web.UI;
using AjaxControlToolkit.Design;
namespace AjaxControlToolkit
{
/// <summary>
/// AutoComplete Designer class
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2117:AptcaTypesShouldOnlyExtendAptcaBaseTypes", Justification = "Security handled by base class")]
public class AutoCompleteDesigner : ExtenderControlBaseDesigner<AutoCompleteExtender>
{
/// <summary>
/// Signature of the page method for AutoComplete's web service that
/// is used to support adding/navigating to the page method from the designer
/// </summary>
/// <param name="prefixText">Text already entered</param>
/// <param name="count">Number of items to return</param>
/// <param name="contextKey">Optional user specific context</param>
/// <returns>Possible completions of the prefix text</returns>
[PageMethodSignature("AutoComplete", "ServicePath", "ServiceMethod", "UseContextKey")]
private delegate string[] GetCompletionList(string prefixText, int count, string contextKey);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -