You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The whole controlling of the UI goes over context menus.
9
-
You can drag around the Window with the gray border.
10
-
Use ctrl + mouse wheel (or ctrl + +/-) to zoom in and out of the Text area.
8
+
You can drag the window around the screen by dragging the gray border around the text.
9
+
Use ctrl + mouse wheel (or ctrl + +/-) to change the font size
10
+
11
+
Over the context menu, you get several options to control the behaviour of the application.
12
+
This includes:
13
+
- Control whether the app should stay above all other windows.
14
+
15
+
- Control whether the app should occupy space in the taskbar (note: if you decide to uncheck this option, you can always bring the application back ontop though a right-click on the notification/Tryicon).
16
+
17
+
- Control about the appearance of the app: Dark/Light Themes, several accent colors and the Font can be changed.
18
+
19
+
- Control whether to display additional information under the text, such as the Word count and also a slider to control the transparency of the application.
@@ -16,11 +28,11 @@ Use ctrl + mouse wheel (or ctrl + +/-) to zoom in and out of the Text area.
16
28
17
29
# For Contributors - what is the structure of the source Code?
18
30
I used WPF with MVVM. The used MVVM Library is DevExpress.Mvvm (available in NuGet)
19
-
The Metro Design of the Context Menus comes from MahApps.Metro (also available through NuGet)
20
-
The Text Editor is from ICSharpCode.AvalonEdit (NuGet as well). By using AvalonEdit, we have build in options for LineNumbers and general "improvements".
31
+
The Metro Design (including themes and accents) are from MahApps.Metro (also available through NuGet)
32
+
The Text Editor is from ICSharpCode.AvalonEdit (NuGet as well). With using AvalonEdit comes several improvements over the WPF build-in Textbox or Richtextbox, such as Line Numbers or a Bindable Rich-Text.
21
33
The WindowStyle is set to "None". To handle all the controlling (like closing, minimizing etc), I used the context menu (right click menu).
22
34
There is also a TryIcon, which supports the same context menu commands as the Main UI.
23
-
For moving the window around, I made the border a little bit wider with a light gray background. This is the Area which a user can click on, to drag the window around.
24
-
If you plan to extend the context menu, notice that you got to extend the MainWindow context menu AND the TrayIcon context menu.
25
-
Although this is a MVVM architecture, I have some code behind for UI specific stuff.
35
+
For moving the window around, the border got to be a little bit wider with a light gray background. This is the area which a user can click on, to drag the window around.
36
+
The context menu is located within the Window.Resources of the MainWindow.
37
+
Although this is a MVVM architecture, there is also some code behind for the UI specific stuff (such as dragging the window around the screen).
26
38
Keep in mind to keep the UI related stuff separated from the ViewModel.
0 commit comments