コード例 #1
0
 public SwimlanePanel()
 {
     this.Swimlanes = new ObservableCollection<SwimlaneDefinition>();
     this.Swimlanes.CollectionChanged += OnSwimLaneCollectionChanged;
     this.clipShield = new ClipShield();
     this.Children.Add(this.clipShield);
     Panel.SetZIndex(this.clipShield, 1);
     this.clipShield.SetBinding(ClipShield.BackgroundProperty, new Binding { Source = this, Path = new PropertyPath(BackgroundProperty) });
     this.ClipToBounds = true;
 }
コード例 #2
0
 public SwimlanePanel()
 {
     this.Swimlanes = new ObservableCollection <SwimlaneDefinition>();
     this.Swimlanes.CollectionChanged += OnSwimLaneCollectionChanged;
     this.clipShield = new ClipShield();
     this.Children.Add(this.clipShield);
     Panel.SetZIndex(this.clipShield, 1);
     this.clipShield.SetBinding(ClipShield.BackgroundProperty, new Binding {
         Source = this, Path = new PropertyPath(BackgroundProperty)
     });
     this.ClipToBounds = true;
 }