Skip to content

punker76/code-samples

Repository files navigation

Stand With Ukraine

Just some code samples...

To build these samples you'll need at least Visual Studio 2019 16.x Community Edition.

You can use the cake build script to compile all projects via powershell commandline:

.\build.ps1

IconPacksValueConverterSample

Simple MahApps.Metro.IconPacks sample which shows how to produce a percantage view of a binded value together with an IValueConverter.

ListViewSwitchItemsPanel

Simple sample which shows how to switch the ItemsPanel of a ListView.

listview

An auto moving ToolTip

ToolTipAutoMoveSample is a sample which demonstrates my auto moving ToolTip, explained here.

This ToolTip is now also available in the ControlzEx library.

automove_tooltip2

MahApps.Metro HamburgerMenu

MahAppsMetroHamburgerMenu showcase for MahApps.Metro HamburgerMenu.

  • Simple straight forward sample
  • Sample with Binding to the SelectedItem / SelectedOptionsItem
  • Sample with a custom helper class HamburgerMenuIconItem which uses the MahApps.Metro.IconPacks
  • Sample with Caliburn.Micro (tba)
  • Sample with some code behind (tba)

MahApps.Metro blank application

MahAppsMetroSample is a simple blank app for MahApps.Metro, explained in this blog post.

MahApps.Metro custom WindowButtonCommands

MahAppsMetroWindowButtonCommands

A sample app to demonstrate the customization of the Min/Max/Close buttons (for the upcoming v1.3.0). It shows different background color and tooltips.



MahApps.Metro DataGrid

MahAppsMetroDataGridSample showcase for MahApps.Metro DataGrid styles.


MahApps.Metro Themes

MahAppsMetroThemesSample MahApps.Metro ThemeManager example explained in this blog post.

mahapps_more_colors

MahApps.Metro blank VB application

MahAppsMetroVBSample is a simple blank app for Visual Basic MahApps.Metro.

License

The MIT License (MIT)

Copyright (c) 2014-present Jan Karger

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.