Class SpellCheckBehaviors
Represents a collection of attached properties for SpellChecks.
Inherited Members
Namespace: Phoenix.Aruba.Behaviors
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public static class SpellCheckBehaviors
Fields
View SourceIsEnabledProperty
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 SourceAllowSpellCheck
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 |
SpellCheckLanguage
Gets or sets the spell check language, if any.
Declaration
public static string SpellCheckLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceGetIsEnabled(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. |
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. |