ownChat: Neues TimeStamp-Objekt wird unterstützt und der Chat funktioniert wieder.
31 lines
926 B
C#
31 lines
926 B
C#
using System;
|
|
using System.Globalization;
|
|
using System.Windows;
|
|
using System.Windows.Data;
|
|
|
|
namespace BeWo.Scheduling.Converter
|
|
{
|
|
public class SchedulingRemoveElementVisibilityConverter : IValueConverter
|
|
{
|
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
|
{
|
|
//if(value == null)
|
|
//{
|
|
return Visibility.Visible;
|
|
//}
|
|
|
|
//var isNew = SchedulerAppointmentEditForm.IsNew;
|
|
|
|
//var isAllowedToChange = BeWoUtils.CheckSchedulerRights(SchedulerAppointmentEditForm.CurrentAppointment, isNew, SchedulerRightsCheckType.Edit);
|
|
|
|
|
|
//return isAllowedToChange ? Visibility.Visible : Visibility.Hidden;
|
|
}
|
|
|
|
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|