Leistungskategorie wieder änderbar bei den ergänzenden Diensten.

This commit is contained in:
Lyndon
2018-02-05 14:21:08 +01:00
parent fd53e71eca
commit 72de5384ea
7 changed files with 88 additions and 295 deletions

View File

@@ -17,7 +17,7 @@ namespace BeWo.Controls
{
get
{
string lXaml = "<DataTemplate><Label Content=\"{Binding}\" /></DataTemplate>";
const string lXaml = "<DataTemplate><Label Content=\"{Binding}\" /></DataTemplate>";
var lParserContext = new ParserContext();
lParserContext.XmlnsDictionary.Add(string.Empty, "http://schemas.microsoft.com/winfx/2006/xaml/presentation");
@@ -29,15 +29,9 @@ namespace BeWo.Controls
public string NullText
{
get
{
return (string)this.GetValue(NullTextProperty);
}
get => (string)GetValue(NullTextProperty);
set
{
this.SetValue(NullTextProperty, value);
}
set => SetValue(NullTextProperty, value);
}
protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
@@ -67,9 +61,9 @@ namespace BeWo.Controls
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
{
if (this.SelectedItem != null && this.SelectedItem.Equals(this.l))
if(SelectedItem != null && SelectedItem.Equals(l))
{
this.SelectedIndex = -1;
SelectedIndex = -1;
}
base.OnSelectionChanged(e);