TX Text Control: Using a Custom Spell Check ContextMenu When TX Spell .NET is connected to a TextControl through the SpellChecker property, TextControl provides a pre-defined spell check context menu that can be used to replace the misspelled word
ContextMenuLocation Property TextContextMenuEventArgs Class TXTextControl.WPF Namespace Gets the location in the document for which the context menu will be opened. The context menu items, which will be shown, depend on this location. The property value can be a combination
The menu context is a TrackedChange. Comment The menu context is a CommentedText. FormField The menu context is a FormField. Footnote The menu context is a Footnote reference mark. See Also TextContextMenuEventArgs class, TextControl.TextContextMenuOpening Event,…
ContextMenusEnabled Property TextControlSettings Class TXTextControl.Web.MVC Namespace Determines if a right click opens a context menu or not. Syntax C# VB.NET public bool ContextMenusEnabled { get; set; } Public Property ContextMenusEnabled() As Boolean public bool ContextMenusEnabled {…
MenuItem3_Clicked" Header="MenuItem3"/ ContextMenu TextControl.Resources TextControl WPF;assembly=TXTextControl.WPF" xmlns:txspell="clr-namespace:TXTextControl.WPF.Proofing;assembly=TXSpell.WPF" TextControl Name="textControl1" TextControl.Resources ContextMenu x
TX Words: Context Menu When right-clicking TextControl, a built-in context menu appears that provides context related items. This sample shows how to extend such a TextControl context menu. When right-clicking a frame base element, an additional item
completely replaced. When this property is set to null, the WPF.TextControl uses system menu items. To completely suppress a context menu, the Cancel Property must be set the true. Syntax C# VB.NET public System.Windows.Controls.ContextMenu TextContextMenu
check ContextMenu. Introduced: 3.0. GetMenuItems(Object, Object, Int) C# VB.NET public WPF.Proofing.MenuItem[] GetMenuItems(object misspelledWord, object textControl, int maxSuggestions); Public Function GetMenuItems(misspelledWord As Object, textControl As Object, maxSuggestions As Integer)…
+1 704-544-7445 (United States)
+1 855-533-8398 (United States, toll free)
Or send us an email: