?? htmleditorconfiguration.cs
字號:
?using System;
using System.Configuration;
namespace BugNET.Providers.HtmlEditorProviders
{
/// <summary>
/// Configuration handler for the html editor provider
/// </summary>
/// <example>
/// <?xml version="1.0"?>
/// <configuration>
/// <configSections>
/// <section name="HtmlEditorProvider"
/// type="BugNET.Providers.HtmlEditorProviders.HtmlEditorConfiguration, BugNET.Providers.HtmlEditorProviders"
/// allowDefinition="MachineToApplication"/>
/// </configSections>
/// <HtmlEditorProvider defaultProvider="FckHtmlEditorProvider">
/// <providers>
/// <add name="TextboxHTMLProvider"
/// type="BugNET.Providers.HtmlEditorProviders.TextboxHtmlEditorProvider,
/// BugNET.Providers.TextboxHtmlEditorProvider"
/// Height="600" Width="800"/>
/// <add name="FreeTextBoxHTMLProvider"
/// type="MyCompany2.FreeTextBoxHTMLProvider,
/// FreeTextBoxHTMLProvider"
/// Height="600" Width="800"/>
/// <add name="FCKEditorHTMLProvider"
/// type="BugNET.Providers.HtmlEditorProviders.FckHtmlEditorProvider,
/// BugNET.Providers.FckHtmlEditorProvider"
/// Height="600" Width="800"/>
/// </providers>
/// </HtmlEditorProvider>
///</configuration>
/// </example>
public class HtmlEditorConfiguration : ConfigurationSection
{
/// <summary>
/// Gets the providers.
/// </summary>
/// <value>The providers.</value>
[ConfigurationProperty("providers")]
public ProviderSettingsCollection Providers
{
get
{
return (ProviderSettingsCollection)base["providers"];
}
}
/// <summary>
/// Gets or sets the default provider.
/// </summary>
/// <value>The default provider.</value>
[ConfigurationProperty("defaultProvider", DefaultValue = "TextboxHtmlEditorProvider")]
[StringValidator(MinLength = 1)]
public string DefaultProvider
{
get
{
return (string)base["defaultProvider"];
}
set
{
base["defaultProvider"] = value;
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -