-
Notifications
You must be signed in to change notification settings - Fork 3.4k
TextBox
The context menus on the text boxes support spelling suggestions. These can be enabled with the SpellCheck.IsEnabled attached property.
This will cause additional menu items to be included with spelling suggestions as well as options for Ignore All
, and (no spelling suggestions)
. Because these are coming directly from this library and not the built-in these strings are not localized. If you need to adjust them you can do the following in your App.xaml
<Application x:Class="Button.RotatedProgress.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
... >
<Application.Resources>
<ResourceDictionary>
...
<Style x:Key="{x:Static md:Spelling.IgnoreAllMenuItemStyleKey}" TargetType="{x:Type MenuItem}" BasedOn="{StaticResource MaterialDesignMenuItem}">
<!--Change this to whatever is appropriate to for your application-->
<Setter Property="Header" Value="Localized Ignore All" />
</Style>
<Style x:Key="{x:Static md:Spelling.NoSuggestionsMenuItemStyleKey}" TargetType="{x:Type MenuItem}" BasedOn="{StaticResource MaterialDesignMenuItem}">
<!--Change this to whatever is appropriate to for your application-->
<Setter Property="Header" Value="Localized (no spelling suggestions)" />
<Setter Property="IsEnabled" Value="False" />
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>
If you see any mistake or want to contribute to this wiki feel free.
Home
Contributing
Compiling From Source
Glossary
Getting Started with MDIX
Getting Started
Tutorial On YouTube (português-BR)
Frequently Asked Questions
Examples Repository
Release Notes
Pack Icon Changes
2.0.0 Breaking Changes
Controls
All Control Styles
Buttons
ComboBox
Dialogs
PopupBox
Snackbar
TextBox
Toggle Button
Transitions
Icons
Theming
Advanced Theming
Brush Names
Custom Palette Hues
Fonts
Overriding Material Design Styles
Swatches and Recommended Colors
Miscellaneous
MahApps Integration
Performance
Strong Naming
.NET 4.0 Compatibility
Projects using Material Design
Understanding Routed Commands