Show / Hide Table of Contents

Class SpellCheckBehaviors

Represents a collection of attached properties for SpellChecks.

Inheritance
object
SpellCheckBehaviors
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba.Behaviors
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public static class SpellCheckBehaviors

Fields

View Source

IsEnabledProperty

Using a DependencyProperty as the backing store for IsEnabled. This enables animation, styling, binding, etc...

Declaration
public static readonly DependencyProperty IsEnabledProperty
Field Value
Type Description
DependencyProperty

Properties

View Source

AllowSpellCheck

Gets or sets a value indicating whether enable/disable SpellCheckBehaviors globally, but only for the fields for which IsEnabled is true.

Declaration
public static bool AllowSpellCheck { get; set; }
Property Value
Type Description
bool
View Source

SpellCheckLanguage

Gets or sets the spell check language, if any.

Declaration
public static string SpellCheckLanguage { get; set; }
Property Value
Type Description
string

Methods

View Source

GetIsEnabled(DependencyObject)

Gets the IsEnabled attached property.

Declaration
public static bool GetIsEnabled(DependencyObject element)
Parameters
Type Name Description
DependencyObject element

UI element to get the attached property from.

Returns
Type Description
bool

True if the custom dictionary behavior is enabled.

View Source

SetIsEnabled(DependencyObject, bool)

Sets the IsEnabled attached property. By adding this property to a TextBox type control, we'll enable a custom dictionary behavior. The functionality includes a menu item and backing file support.

Declaration
public static void SetIsEnabled(DependencyObject element, bool value)
Parameters
Type Name Description
DependencyObject element

UI element to set the attached property to.

bool value

True if adding the custom Dictionary behavior.

  • View Source
In this article
Back to top Generated by DocFX