Talk:DarkMode.cs

From DanIT
Jump to navigation Jump to search

Components

With any control, you can easily change the default Dark-Mode appearance.

TabControl

Note: A custom DrawItem has been added to DarkMode.TabControl, because there is no appearance property for the Tabs back and fore color.

Label

Note: No changes needed, inherits back and fore color automatically.

CheckBox

Note: No changes needed, inherits back and fore color automatically.

RadioButton

Note: No changes needed, inherits back and fore color automatically.

ListView

Issue: Using ListView with View 'Details', the Column Header (when used) appearance remains light-mode.
Cause: There is no appearance property for this.
Advice: Either replace the ListView with DataGridView (which is also more advanced), or use DarkMode.ListView to draw your own style.

Issue: Using ListView, the Groups (when used) header appearance remains light-mode (dark blue).
Cause: There is no appearance property for this.
Advice: Use DarkMode.ListView to draw your own style.

ContextMenuStrip

Note: Because ContextMenuStrips could also be created outside of Form.Controls via the Designer, function DesignerControls additionally checks for this.

ToolStripItem

Note: