-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wpf: This adds a UseMouseSelectionOnly property to TextBoxCell/ImageT…
…extCell to use from a native style. Sometimes you may wish the mouse in a TextBoxCell and ImageTextCell to only select text but not drag selected text. This adds a property to the handlers so you can apply it with a style. E.g. Style.Add<Eto.Wpf.Forms.Cells.TextBoxCellHandler>("no-mouse-drag", handler => handler.UseMouseSelectionOnly = true); Style.Add<Eto.Wpf.Forms.Cells.ImageTextCellHandler>("no-mouse-drag", handler => handler.UseMouseSelectionOnly = true);
- Loading branch information
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters