Dirkster.WatermarkControlsLib

WPF/MVVM control to implement a textbox and combobox with a watermark (a faded label inside the text editing area).


Keywords
wpf, waternark, mark, text, textbox, combo, combobox, edit, overlay, mvvm, c#, .net, metro, dark, light, themed, control, library, csharp, dotnet, modern, theme, ui, ui-components, watermark
License
MIT
Install
Install-Package Dirkster.WatermarkControlsLib -Version 1.1.0

Documentation

Build status Release NuGet

Net4 NetCore3

WatermarkControlsLib

Provides MVVM/WPF conform textbox and combobox control implementations for dark and light modern UIs

The controls afre based on a refactored version from the WPF Tool Kit at: http://wpftoolkit.codeplex.com/

TextBox with Watermark

ComboBox with Watermark

Theming

Load Light or Dark brush resources in you resource dictionary to take advantage of existing definitions.

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/WatermarkControlsLib;component/Themes/DarkBrushs.xaml" />
    </ResourceDictionary.MergedDictionaries>
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/WatermarkControlsLib;component/Themes/LightBrushs.xaml" />
    </ResourceDictionary.MergedDictionaries>

These definitions do not theme all controls used within this library. You should use a standard theming library, such as: