Ver 2.0. Fixes and improvements.
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 51 KiB |
BIN
docs/blue-theme.png
Normal file
|
After Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 132 KiB |
BIN
docs/darkblue-theme.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 71 KiB |
BIN
docs/devlab-theme.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
@@ -13,23 +13,22 @@
|
||||
|
||||
# Change themes by ThemeManager
|
||||
|
||||
Change by static property
|
||||
Change by `ThemeManager`
|
||||
```c#
|
||||
ThemeManager.CurrentTheme = ColorThemes.Classic;
|
||||
```
|
||||
|
||||
# Change themes by ResourceDictionary
|
||||
|
||||
Also you can change theme by adding resource dictionary after generic.xaml. Use one of them:
|
||||
As default we use Classic theme.
|
||||
You also can change theme by adding resource dictionary after generic.xaml. Use one of them:
|
||||
```xml
|
||||
<ResourceDictionary Source="/brightsharp;component/style.devlab.xaml" />
|
||||
or
|
||||
<ResourceDictionary Source="/brightsharp;component/style.blue.xaml" />
|
||||
or
|
||||
<ResourceDictionary Source="/brightsharp;component/style.darkblue.xaml" />
|
||||
or
|
||||
<ResourceDictionary Source="/brightsharp;component/style.silver.xaml" />
|
||||
```
|
||||
|
||||
## NOTE
|
||||
It is recommended use `Background="{DynamicResource WindowBackgroundBrush}"` for Window markup
|
||||
You can use custom window style named `BrightSharpWindowStyle`.
|
||||
Also defined additional useful styles and extensions. For more info see Demo source code.
|
||||
@@ -1,109 +1,5 @@
|
||||
## Brushes List
|
||||
|
||||

|
||||
Here you can see set of brushes and colors we are use (Classic set). In demo application you can press `Brushes Explorer` button to see theme-specific brushes.
|
||||
|
||||
## List of names
|
||||
|
||||
AlternatingRowBackgroundBrush<br/>
|
||||
BorderGapMaskConverter<br/>
|
||||
ButtonEllipseFocusVisual<br/>
|
||||
ButtonFocusVisual<br/>
|
||||
CalendarButtonStyle<br/>
|
||||
CalendarDayButtonStyle<br/>
|
||||
CalendarItemStyle<br/>
|
||||
CFocusVisual<br/>
|
||||
ComboBoxFocusVisual<br/>
|
||||
ComboBoxToggleButton<br/>
|
||||
DarkBrush<br/>
|
||||
DecoPasswordBoxContextMenu<br/>
|
||||
DecoTextBoxContextMenu<br/>
|
||||
DefaultedBorderBrush<br/>
|
||||
DefaultRadiusNormal<br/>
|
||||
DefaultRadiusSmall<br/>
|
||||
DevLabFrameStyle<br/>
|
||||
DisabledBackgroundBrush<br/>
|
||||
DisabledBorderBrush<br/>
|
||||
DisabledForegroundBrush<br/>
|
||||
ExpandCollapseToggleStyle<br/>
|
||||
ExpanderToggleButton<br/>
|
||||
Expandr2StyleGroupBox<br/>
|
||||
ExpandrStyleGroupBox<br/>
|
||||
FileItemStyle<br/>
|
||||
GlassButton<br/>
|
||||
GlyphBrush<br/>
|
||||
GridViewColumnHeaderGripper<br/>
|
||||
HighLightForegroundBrush<br/>
|
||||
HorizontalLightBrush<br/>
|
||||
HorizontalNormalBorderBrush<br/>
|
||||
HorizontalScrollBar<br/>
|
||||
HorizontalSlider<br/>
|
||||
JournalEntryUnifiedViewConverter<br/>
|
||||
LightBorderBrush<br/>
|
||||
LightBrush<br/>
|
||||
LightColorBrush<br/>
|
||||
MainMenuForegroundBrush<br/>
|
||||
NormalBorderBrush<br/>
|
||||
NormalBrush<br/>
|
||||
NormalProgressBrush<br/>
|
||||
OnWindowForegroundBrush<br/>
|
||||
OptionMarkFocusVisualBottom<br/>
|
||||
OptionMarkFocusVisualLeft<br/>
|
||||
OptionMarkFocusVisualRight<br/>
|
||||
OptionMarkFocusVisualTop<br/>
|
||||
OptionRadioButtonStyle<br/>
|
||||
PressedBorderBrush<br/>
|
||||
PressedBrush<br/>
|
||||
ProgressBarIndeterminateFillBrush<br/>
|
||||
ProgressBarIndeterminateRootBrush<br/>
|
||||
ProgressBarIndicatorAnimatedFill<br/>
|
||||
RadioButtonFocusVisual<br/>
|
||||
RoundedTabItemStyle<br/>
|
||||
RowBackgroundBrush<br/>
|
||||
ScrollBarBackgroundBrush<br/>
|
||||
ScrollBarLineButton<br/>
|
||||
ScrollBarPageButtonHoriz<br/>
|
||||
ScrollBarPageButtonHorizBrush<br/>
|
||||
ScrollBarPageButtonVert<br/>
|
||||
ScrollBarPageButtonVertBrush<br/>
|
||||
ScrollBarThumb<br/>
|
||||
SelectedBackgroundBrush<br/>
|
||||
SliderButtonStyle<br/>
|
||||
SliderThumbStyle<br/>
|
||||
SliderThumbStyleDirected<br/>
|
||||
SliderThumbStyleDirectedHor<br/>
|
||||
SolidBorderBrush<br/>
|
||||
SubMenuItemRadioButtonTemplate<br/>
|
||||
SwitchButtonFocusVisual<br/>
|
||||
SwitchCheckBoxStyle<br/>
|
||||
SynWindowBackgroundBrush<br/>
|
||||
TabItemRadius<br/>
|
||||
TabItemSelectedBackgroundBrush<br/>
|
||||
TabRadiusBottom<br/>
|
||||
TabRadiusLeft<br/>
|
||||
TabRadiusRight<br/>
|
||||
TabRadiusTop<br/>
|
||||
TestWindowStyle<br/>
|
||||
TextBoxBorder<br/>
|
||||
ThickConv<br/>
|
||||
TogglePressedBrush<br/>
|
||||
TopLevelMenuBackgroundHover<br/>
|
||||
UiForegroundBrush<br/>
|
||||
VerticalDarkBrush<br/>
|
||||
VerticalNormalBrush<br/>
|
||||
VerticalPressedBrush<br/>
|
||||
VerticalScrollBar<br/>
|
||||
VerticalScrollBarThumb<br/>
|
||||
VerticalSlider<br/>
|
||||
WindowBackgroundBrush<br/>
|
||||
WindowSolidBrush<br/>
|
||||
ControlDarkColor<br/>
|
||||
ControlLightColor<br/>
|
||||
ControlMediumColor<br/>
|
||||
ControlMouseOverColor<br/>
|
||||
ControlPressedColor<br/>
|
||||
OnWindowForegroundColor<br/>
|
||||
SelectedBackgroundColor<br/>
|
||||
SelectedUnfocusedColor<br/>
|
||||
UiForegroundColor<br/>
|
||||
ValidationErrorColor<br/>
|
||||
WindowBackgroundHoverColor<br/>
|
||||

|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# CKEditor (HtmlEditor) usage example
|
||||
|
||||
Documentation in progress...
|
||||
Extra package contains first experimental HtmlEditor
|
||||
|
||||
For more info see `BrightSharp.Demo` project. How to setup video https://youtu.be/fQvdY69fQDw
|
||||
|
||||
|
||||
BIN
docs/silver-theme.png
Normal file
|
After Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 74 KiB |