Metro UI Toolkit is a simple library of WPF controls that have a Modern/Metro UI look to them. I've also tried to expose several additional properties to make them quicker to customize (without having to build template sections) to hopefully decrease development time.
##MetroButton##
Inherits from Button
DisabledBackground [Brush] | The background color for the button's disabled state. |
DisabledForeground [Brush] | The foreground color for the button's disabled state. |
##MetroComboBox##
Inherits from ComboBox
ListBackground [Brush] | The dropdown list background color. |
ListForeground [Brush] | The dropdown list foreground color. |
ButtonHoverBackground [Brush] | The button background color while in the hover-over state. |
ButtonHoverForeground [Brush] | The button foreground color while in the hover-over state. |
SelectedBackground [Brush] | The list item background color while in the selected state. |
SelectedForeground [Brush] | The list item foreground color while in the selected state. |
SeperatorColor [Brush] | The list item separator color. |
##MetroDataGrid##
Inherits from DataGrid
##MetroListBox##
Inherits from ListBox
HoverBackground [Brush] | The list item background color while in the hover-over state. |
HoverForeground [Brush] | The list item foreground color while in the hover-over state. |
SelectedBackground [Brush] | The list item background color while in the selected state. |
SelectedForeground [Brush] | The list item foreground color while in the selected state. |
SeperatorColor [Brush] | The list item separator color. |
##MetroScollBar & MetroScrollViewer##
Inherits from ScrollBar and ScrollViewer respectively
BarColor [Brush] | The scrollbar's color. |
ThumbColor [Brush] | The scrollbar's thumb color. |
##MetroTabItem##
Inherits from TabItem
TabCloseClick [Bubble] | Raised when the TabItem's close button is clicked. |
IsClosable [bool] | Whether or not the close button is visible. |
##MetroTextBox##
Inherits from TextBox
PlaceholderText [string] | The text to display when the textbox is empty. |
##MetroDatePicker##
Inherits from DatePicker
CalendarIconColor [Brush] | The calendar icon color. |
CalendarIconHoverColor [Brush] | The calendar icon hover color. |
TodayBackground [Brush] | Today's date background color. |
SelectedBackground [Brush] | The selected date background color. |
HighlightBackground [Brush] | The highlighted date background color. |
CalendarForeground [Brush] | The calendar dropdown's foreground color. |
CalendarBackground [Color] | The calendar dropdown's background color. |
CalendarHeaderColor [Color] | The calendar dropdown's header color. |
PreviewKeyDown | The up and down arrow keys increment/decrement the selected date by one day. |
##SearchBox##
Inherits from ComboBox
SearchClick [Bubble] | Raised when the SearchBox's search button is clicked. |
PlaceholderText [string] | The text to display when the searchbox is empty. |
ListBackground [Brush] | The dropdown list background color. |
ListForeground [Brush] | The dropdown list foreground color. |
ButtonHoverBackground [Brush] | The button background color while in the hover-over state. |
ButtonHoverForeground [Brush] | The button foreground color while in the hover-over state. |
SelectedBackground [Brush] | The list item background color while in the selected state. |
SelectedForeground [Brush] | The list item foreground color while in the selected state. |
SeperatorColor [Brush] | The list item separator color. |
##SelectPager##
Inherits from UserControl
PageChanged [Bubble] | Raised when the Pager's CurrentPage changes. |
DisabledBackground [Brush] | The background color for the button's disabled state. |
DisabledForeground [Brush] | The foreground color for the button's disabled state. |
CurrentPage [int] | The current page. |
PageCount [int] | The total number of pages. |
##SimplePager##
Inherits from UserControl
PageChanged [Bubble] | Raised when the Pager's CurrentPage changes. |
CurrentPage [int] | The current page. |
PageCount [int] | The total number of pages. |
##SlideCheck##
Inherits from UserControl
##WindowStateButtons##
Inherits from UserControl
MinimizeClick [Bubble] | Raised when the minimize icon is clicked. |
MaximizeClick [Bubble] | Raised when the maximize icon is clicked. |
NormalizeClick [Bubble] | Raised when the normalize icon is clicked. |
CloseClick [Bubble] | Raised when the close icon is clicked. |
BackgroundHover [Brush] | The icon background color while in the hover-over state. |
ForegroundHover [Brush] | The icon foreground color while in the hover-over state. |
IsCloseVisible [bool] | Whether or not the close button is visible. |
IsMinimizeVisible [bool] | Whether or not the minimize button is visible. |
IsMaximizeVisible [bool] | Whether or not the maximize button is visible. |
ModernUIControls is released under a BSD 3-Clause License
Copyright © 2012-2013, Bryan Kizer All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the Organization nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.