ASPxHtmlEditorSpellCheckerSettings.SettingsSpelling Property
Provides access to basic spelling settings.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public ASPxHtmlEditorSpellCheckerSpellingSettings SettingsSpelling { get; }
#Property Value
Type | Description |
---|---|
ASPx |
A ASPx |
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Settings |
---|---|---|
ASP. |
Html |
|
ASP. |
ASPx |
|
#Remarks
Use the SettingsSpelling property to get access to basic spelling options, such as ASPxSpellCheckerSpellingSettings.IgnoreEmails, ASPxSpellCheckerSpellingSettings.IgnoreMixedCaseWords, ASPxSpellCheckerSpellingSettings.IgnoreUpperCaseWords, ASPxSpellCheckerSpellingSettings.IgnoreUrls, ASPxSpellCheckerSpellingSettings.IgnoreWordsWithNumber, ASPxHtmlEditorSpellCheckerSpellingSettings.IgnoreMarkupTags.
#Example
This example demonstrates how to force the integrated ASPxSpellChecker to check the text edited within the ASPxHtmlEditor with predefined settings.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register assembly="DevExpress.Web.ASPxHtmlEditor.v10.2, Version=10.2.1.0, Culture=neutral,
PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxHtmlEditor" tagprefix="dxhe" %>
<%@ Register assembly="DevExpress.Web.v10.2, Version=10.2.1.0, Culture=neutral,
PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>
<%@ Register assembly="DevExpress.Web.ASPxSpellChecker.v10.2, Version=10.2.1.0, Culture=neutral,
PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxSpellChecker" tagprefix="dxwsc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<dxhe:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server">
<SettingsSpellChecker Culture="English (United States)">
<Dictionaries>
<dxwsc:ASPxSpellCheckerISpellDictionary
AlphabetPath="~/Dictionary/EnglishAlphabet.txt"
CacheKey="ispellDic" Culture="English (United States)"
DictionaryPath="~/Dictionary/american.xlg"
EncodingName="Western European (Windows)"
GrammarPath="~/Dictionary/english.aff" />
</Dictionaries>
<SettingsSpelling IgnoreEmails="False" IgnoreMarkupTags="False"
IgnoreMixedCaseWords="False" IgnoreUpperCaseWords="False" IgnoreUrls="False"
IgnoreWordsWithNumber="False" />
</SettingsSpellChecker>
</dxhe:ASPxHtmlEditor>
</div>
</form>
</body>
</html>