private void AcceptAction_Changed(object sender, ActionChangedEventArgs e)
 {
     if (e.ChangedPropertyType == ActionChangedType.Active)
     {
         SetActionsActive(((ActionBase)sender).Active);
     }
 }
Exemplo n.º 2
0
 private void Action_Changed(object sender, ActionChangedEventArgs e)
 {
     if (e.ChangedPropertyType == ActionChangedType.Active)
     {
         ClearChildControls(false);
     }
 }
Exemplo n.º 3
0
 private void OnActionChanged(object sender, ActionChangedEventArgs args)
 {
     if (ActionChanged != null)
     {
         ActionChanged(sender, args);
     }
 }
Exemplo n.º 4
0
 private void Action_Changed(object sender, ActionChangedEventArgs e)
 {
     if (e.ChangedPropertyType == ActionChangedType.Enabled || e.ChangedPropertyType == ActionChangedType.Active)
     {
         StateHasChanged();
     }
 }
Exemplo n.º 5
0
 private void OptionsActionChanged(object sender, ActionChangedEventArgs e)
 {
     _drawingSpaceViewModel.SetAction(e.Action);
 }
 private void Action_Changed(object sender, ActionChangedEventArgs e)
 {
     ActionBase actionBase = (ActionBase)sender;
     switch (e.ChangedPropertyType)
     {
         case ActionChangedType.Enabled:
             base.Enabled.SetItemValue("Action is enabled", actionBase.Enabled);
             return;
         case ActionChangedType.Active:
             base.Enabled.SetItemValue("Action is active", actionBase.Active);
             return;
         default:
             return;
     }
 }
 private void Action_Changed(object sender, ActionChangedEventArgs e)
 {
     if (e.ChangedPropertyType == ActionChangedType.Active)
     {
         ClearChildControls(false);
     }
 }