Leistungskategorie wieder änderbar bei den ergänzenden Diensten.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user