From 59b1d412d8805e49a450e868a4dd929ccb9be26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20K=C3=B6nig?= Date: Tue, 29 Jun 2021 07:36:01 +0200 Subject: [PATCH] Fixed DefaultDataGridBehavior --- .../_Util/_Behaviors/DefaultDataGridBehavior.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MessageCommunicator.TestGui/_Util/_Behaviors/DefaultDataGridBehavior.cs b/MessageCommunicator.TestGui/_Util/_Behaviors/DefaultDataGridBehavior.cs index 0f82828..b4a7ec3 100644 --- a/MessageCommunicator.TestGui/_Util/_Behaviors/DefaultDataGridBehavior.cs +++ b/MessageCommunicator.TestGui/_Util/_Behaviors/DefaultDataGridBehavior.cs @@ -8,12 +8,12 @@ namespace MessageCommunicator.TestGui { public class DefaultDataGridBehavior : AvaloniaObject { - public static readonly AttachedProperty IsDefaultGridBehaviorActiveProperty = + public static readonly AttachedProperty IsDefaultDataGridBehaviorActiveProperty = AvaloniaProperty.RegisterAttached( "IsDefaultDataGridBehaviorActive", - coerce: ValidateIsDefaultGridBehaviorActiveProperty); + coerce: ValidateIsDefaultDataGridBehaviorActiveProperty); - public static bool ValidateIsDefaultGridBehaviorActiveProperty(IAvaloniaObject targetObject, bool givenValue) + public static bool ValidateIsDefaultDataGridBehaviorActiveProperty(IAvaloniaObject targetObject, bool givenValue) { if ((givenValue) && (targetObject is DataGrid targetControl))