예제 #1
0
 public virtual void SetVisibility(bool state)
 {
     InputNode?.SetVisibility(state);
     OutputNode?.SetVisibility(state);
     if (Content != null)
     {
         Content.Visibility = state ? Visibility.Visible : Visibility.Collapsed;
     }
 }