[](https://gitter.im/ControlzEx/ControlzEx?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://ci.appveyor.com/project/punker76/controlzex)
[](https://github.com/ControlzEx/ControlzEx/releases/latest)
[](http://www.nuget.org/packages/ControlzEx/)
[](https://github.com/ControlzEx/ControlzEx/issues)
[](http://nuget.org/packages/ControlzEx)
[](https://github.com/ControlzEx/ControlzEx/blob/master/License.txt)
[](https://twitter.com/punker76) [](https://twitter.com/batzendev) [](https://twitter.com/James_Willock)
# Quick started for developers
* Download the `.NET Core 3.0.0 Preview 6` SDK and Runtime from [here](https://github.com/dotnet/core/blob/master/release-notes/3.0/preview/3.0.0-preview6.md)
* Make sure you only have this dotnet core 3.0 installed!
* Make sure you have [Visual Studio 2019](https://visualstudio.microsoft.com) installed (this could also be the Community Edition)
* Clone the [ControlzEx repository](https://github.com/ControlzEx/ControlzEx.git)
* Open the solution from the `src` folder in Visual Studio 2019
* Rebuild and you're done... (you might need to rebuild 2x, because we use the very fresh hot dotnet core stuff)
# What's in the box
* `.NET Core 3.0.0 Preview 6` support (why, read [here](https://blogs.msdn.microsoft.com/dotnet/2018/10/04/update-on-net-core-3-0-and-net-framework-4-8/) )
* Also still targeting .Net 4.5 and 4.6.2
## TextBoxInputMaskBehavior
The `TextBoxInputMaskBehavior` can be used to show a mask inside a `TextBox`. Note: It's only a mask and doesn't validates your text!
```xml
```
The original TextBoxInputMaskBehavior was taken from from Blindmeis's Blog.
- [https://blindmeis.wordpress.com/2015/01/20/wpf-textbox-input-behavior/](https://blindmeis.wordpress.com/2015/01/20/wpf-textbox-input-behavior/)
- [https://blindmeis.wordpress.com/2010/06/01/wpf-masked-textbox-behavior/](https://blindmeis.wordpress.com/2010/06/01/wpf-masked-textbox-behavior/)

## KeyboardNavigationEx
The `KeyboardNavigationEx` is a helper class for a common focusing problem. The focus of an UI element itself isn't the problem. But if we use the common focusing methods, the control get the focus, but it doesn't get the focus visual style.
The KeyboardNavigationEx class handles the visual style only if the control get the focus from a keyboard device or if the SystemParameters.KeyboardCues is true.
With the KeyboardNavigationEx you can fix this in two simple ways.
First in code behind:
```csharp
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
this.Loaded += (s, e) => { KeyboardNavigationEx.Focus(this.TheElementWhichShouldGetTheFocus); };
}
}
```
Or in XAML code:
```xaml