Files
Chat/ChatController/Utilities/ListItemHelper.cs
LynJet 410945af20 Massennachricht hinzugefügt
Optik an die vom Android- und Webclient angepasst
Asynchrone Methoden verbessert
2022-07-11 16:01:14 +02:00

20 lines
637 B
C#

using System.Windows;
namespace ChatController.Utilities
{
public class ListItemHelper : DependencyObject
{
public static readonly DependencyProperty IsCheckedProperty = DependencyProperty.RegisterAttached("IsChecked", typeof(bool?), typeof(ListItemHelper), new PropertyMetadata(false, null));
public static void SetIsChecked(DependencyObject element, bool? IsChecked)
{
element.SetValue(IsCheckedProperty, IsChecked);
}
public static bool? GetIsChecked(DependencyObject element)
{
return (bool?)element.GetValue(IsCheckedProperty);
}
}
}