Skip to content

Instantly share code, notes, and snippets.

View shuebner20's full-sized avatar

Sebastian Hübner shuebner20

View GitHub Profile
@shuebner20
shuebner20 / AttachedProperties.cs
Last active August 19, 2019 15:25
Declares WPF attached properties for focus handling
/// <summary>
/// Declares common and useful attached properties.
/// </summary>
public static class AttachedProperties
{
#region Focus Handling
// Define the key gesture type converter
[System.ComponentModel.TypeConverter(typeof(System.Windows.Input.KeyGestureConverter))]