Textbox button now works again correctly (but has caret instead of pointer...)

This commit is contained in:
BONNEVILLE Geoffroy
2018-07-30 16:29:28 +02:00
parent 62f2be8823
commit b2dd028fc7
2 changed files with 9 additions and 5 deletions

View File

@@ -1,4 +1,6 @@
using System;
using System.Linq;
using System.Reflection;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
@@ -6,6 +8,8 @@ namespace ModernKeePass.Controls
{
public class TextBoxWithButton : TextBox
{
public event EventHandler<RoutedEventArgs> ButtonClick;
public string ButtonSymbol
{
get { return (string)GetValue(ButtonSymbolProperty); }
@@ -17,7 +21,6 @@ namespace ModernKeePass.Controls
typeof(string),
typeof(TextBoxWithButton),
new PropertyMetadata("&#xE107;", (o, args) => { }));
public event EventHandler<RoutedEventArgs> ButtonClick;
public string ButtonTooltip
{