Dirkster.InplaceEditBoxLib
1.4.0
See the version list below for details.
dotnet add package Dirkster.InplaceEditBoxLib --version 1.4.0
NuGet\Install-Package Dirkster.InplaceEditBoxLib -Version 1.4.0
<PackageReference Include="Dirkster.InplaceEditBoxLib" Version="1.4.0" />
paket add Dirkster.InplaceEditBoxLib --version 1.4.0
#r "nuget: Dirkster.InplaceEditBoxLib, 1.4.0"
// Install Dirkster.InplaceEditBoxLib as a Cake Addin #addin nuget:?package=Dirkster.InplaceEditBoxLib&version=1.4.0 // Install Dirkster.InplaceEditBoxLib as a Cake Tool #tool nuget:?package=Dirkster.InplaceEditBoxLib&version=1.4.0
InplaceEditBoxLib
WPF/MVVM control to implement a textbox on top of other elements like a TreeViewItem or ListViewItem (use case: perform in place edit of a displayed item)
Use Case: Edit-In-Place
The edit-in-place text control contained in this project can be used as a base for developing applications where users would like to edit text strings as overlay over the normally displayed string.
The best and well known example of an edit-in-place text control is the textbox overlay that is used for renaming renaming a file or folder in Windows Explorer. The user typically selects an item in a list (listbox, listview, grid) or structure of items (treeview) and renames the item using a textbox overlay (without an additional dialog).
Change of focus (activation of a different window), pressing escapee leads to canceling of the rename process and pressing enter leads to confirmation of the new string.
Features
This edit-in-place control in this project can be used in the collection of any ItemsControl (Treeview, ListBox, ListView etc).
More details here: https://github.com/Dirkster99/InplaceEditBoxLib/blob/master/README.md
keybinding - Press F2 to rename - Press ESC to cancel renaming
Context Menu - Click Rename in context Menu to rename an item
Double Click - Double click the text portion to start renaming
and Handling Errors, such as:
- Renaming with an invalid character (Press ? in Edit Mode to see a pop-up message)
- Attempting to name 2 items with the same name (Name 2 items 'a' should invoke a pop-up message on the 2nd items rename)
- Minimum and Maximum length of a name should between 1 - 254 Characters (naming item with empty string '' should invoke a pop-up message)
Editing text with Text and DisplayText properties
The edit-in-place control has 2 string properties, one is for display (DisplayText) and the other (Text) string represents the value that should be edited.
This setup enables application developers to show more than just a name in each item. Each item can, for example, display a name and a number by using the DisplayText property, while the Text property should contain the string that is to be edit.
The confirmation of editing does not change either of the above dependency properties. The edit-in-place control executes instead the command that is bound to the RenameCommand dependency property to let the viewmodel adjust all relevant strings.
The view invokes the bound RenameCommand and passes the RenameCommandParameter as parameter along.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.0
- Dirkster.UserNotifications (>= 1.5.1)
-
.NETFramework 4.5.2
- Dirkster.UserNotifications (>= 1.5.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Dirkster.InplaceEditBoxLib:
Package | Downloads |
---|---|
Dirkster.FileListView
Provides a WPF/MVVM listview control for Windows file system folders and files. |
|
Dirkster.FolderBrowser
Provides a WPF/MVVM folder browser tree view control to displays and browse folders in the Windows file system. |
|
Dirkster.FilterControlsLib
Provides a WPF/MVVM filter combobox view control to filter displays on Windows file system folders and files. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Dirkster.InplaceEditBoxLib:
Repository | Stars |
---|---|
Dirkster99/Edi
Edi - The open source text editor IDE based on AvalonDock and AvalonEdit
|
|
0xf005ba11/vmplex-ws
A tabbed UI for Microsoft's Hyper-V
|
Version | Downloads | Last updated |
---|---|---|
1.4.2 | 2,947 | 2/26/2022 |
1.4.1 | 658 | 8/24/2021 |
1.4.0 | 3,642 | 9/2/2019 |
1.3.1-alpha | 567 | 2/15/2019 |
1.3.0 | 2,274 | 2/15/2019 |
1.2.0-alpha | 757 | 1/22/2019 |
1.1.2.1 | 1,263 | 11/3/2018 |
1.1.2 | 1,380 | 7/14/2018 |
1.1.1 | 1,255 | 5/13/2018 |
1.1.0 | 1,028 | 5/13/2018 |
1.0.0.3 | 6,964 | 9/6/2017 |
1.0.0.2 | 1,146 | 9/3/2017 |
1.0.0.1 | 1,055 | 9/3/2017 |
Adding multitarget support for NetCore 3 and .Net4.5.2