Ok, Just Do It!

This commit is contained in:
Vitaliy
2017-02-18 00:15:59 +03:00
parent f0913f9873
commit 5c46ef7b7f
122 changed files with 1712 additions and 2177 deletions

22
docs/help/apply-themes.md Normal file
View File

@@ -0,0 +1,22 @@
# Apply themes with App.xaml
`App.xaml`
```xml
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/brightsharp;component/generic.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
```
# Apply themes by ThemeManager
Use enumeration at singleton
```c#
ThemeManager.CurrentTheme = ColorThemes.Classic;
```
## NOTE
It is recommended use `Background="{DynamicResource WindowBackgroundBrush}"` for Window markup

9
docs/help/htmleditor.md Normal file
View File

@@ -0,0 +1,9 @@
# CKEditor (HtmlEditor) usage example
Documentation in progress...
For more info see `BrightSharp.Demo` project. How to setup video https://youtu.be/fQvdY69fQDw
## HtmlEditor (CKEditor) Screenshot
![CKEditor](../htmleditor.png)

12
docs/help/zoomcontrol.md Normal file
View File

@@ -0,0 +1,12 @@
### ZoomControl usage example
`DraggableExtender` for `ZoomControl`. Example:
```xaml
<bsCtrl:ZoomControl xmlns:bsCtrl="http://schemas.brightsharp.com/controls"
xmlns:bs="http://schemas.brightsharp.com/developer">
<Canvas>
<Ellipse bs:DraggableExtender.CanDrag="true" Canvas.Left="37" Canvas.Top="110" Width="100" Height="100" Fill="Blue" />
<Rectangle bs:DraggableExtender.CanDrag="true" Canvas.Left="193" Canvas.Top="55" Width="100" Height="100" Fill="Black" />
</Canvas>
</bsCtrl:ZoomControl>
```