private static void OnCommandParameterChanged(BindableObject bindable, object oldValue, object newValue)
        {
            EventToCommandBehavior thisctrl = (EventToCommandBehavior)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                if (newValue != null)
                {
                    thisctrl.CommandParameter = newValue != null ? newValue : null;
                }
            }
        }
        private static void OnEventNameChanged(BindableObject bindable, object oldValue, object newValue)
        {
            EventToCommandBehavior thisctrl = (EventToCommandBehavior)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                if (newValue != null)
                {
                    thisctrl.EventName = newValue != null ? (string)newValue : string.Empty;
                }
            }
        }
        private static void OnCommandChanged(BindableObject bindable, object oldValue, object newValue)
        {
            EventToCommandBehavior thisctrl = (EventToCommandBehavior)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                if (newValue != null)
                {
                    thisctrl.Command = (ICommand)newValue;
                }
            }
        }
        private static void OnEventArgsConverterChanged(BindableObject bindable, object oldValue, object newValue)
        {
            EventToCommandBehavior thisctrl = (EventToCommandBehavior)bindable;

            if (thisctrl != null && oldValue != newValue)
            {
                if (newValue != null)
                {
                    thisctrl.EventArgsConverter = newValue != null ? (IValueConverter)newValue : null;
                }
            }
        }