1 write to previewStrip
System.Workflow.ComponentModel (1)
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
57
this.
previewStrip
= new PreviewItemStrip(this);
71 references to previewStrip
System.Workflow.ComponentModel (71)
AuthoringOM\Design\ActivityPreviewDesigner.cs (71)
58
this.
previewStrip
.SelectionChanged += new SelectionChangeEventHandler<SelectionChangeEventArgs>(OnPreviewChanged);
59
this.
previewStrip
.HelpText = DR.GetString(DR.DropActivitiesHere);
105
ItemInfo itemInfo = this.
previewStrip
.ActiveItem;
160
this.
previewStrip
.Location = new Point(this.
previewStrip
.Location.X + moveDelta.Width, this.
previewStrip
.Location.Y + moveDelta.Height);
170
int headerHeight = this.
previewStrip
.Bounds.Bottom - Location.Y;
238
this.
previewStrip
.HelpText = value;
253
this.
previewStrip
.ActiveDropTarget = value;
302
headerHeight += this.
previewStrip
.Size.Height;
330
foreach (ItemInfo itemInfo in this.
previewStrip
.Items)
332
Rectangle itemBounds = this.
previewStrip
.GetItemBounds(itemInfo);
383
else if (this.
previewStrip
.Bounds.Contains(point))
385
ItemInfo itemInfo = this.
previewStrip
.HitTest(point);
424
return (this.
previewStrip
.ActiveItem != null && this.
previewStrip
.ActiveItem.UserData[DesignerUserDataKeys.Activity] == containedDesigner.Activity);
443
foreach (ItemInfo item in this.
previewStrip
.Items)
447
this.
previewStrip
.ActiveItem = item;
466
nextObject = this.
previewStrip
.Items[(index > 0) ? index - 1 : this.
previewStrip
.Items.Count - 1].UserData[DesignerUserDataKeys.Activity];
467
else if (direction == DesignerNavigationDirection.Right && index <= this.
previewStrip
.Items.Count - 1)
468
nextObject = this.
previewStrip
.Items[(index < this.
previewStrip
.Items.Count - 1) ? index + 1 : 0].UserData[DesignerUserDataKeys.Activity];
490
this.
previewStrip
.Items.Add(stripItem);
515
if (ActiveDesigner == this && this.
previewStrip
.Bounds.Contains(dropPoint))
516
return this.
previewStrip
.DropTargets;
539
this.
previewStrip
.Draw(e.Graphics);
572
this.
previewStrip
.Location = new Point(bounds.Left + bounds.Width / 2 - this.
previewStrip
.Size.Width / 2, Location.Y + TitleHeight + e.AmbientTheme.Margin.Height);
580
Rectangle previewStripRectangle = this.
previewStrip
.Bounds;
593
int headerHeight = this.
previewStrip
.Bounds.Bottom - Location.Y;
610
this.
previewStrip
.OnLayoutSize(e.Graphics);
613
containerSize.Width = Math.Max(containerSize.Width, this.
previewStrip
.Size.Width);
614
containerSize.Height += this.
previewStrip
.Size.Height;
651
PreviewedDesigner.Size = new Size(containerSize.Width - margins.Width, containerSize.Height - (TitleHeight + this.
previewStrip
.Size.Height + margins.Height));
667
if (this.
previewStrip
.Bounds.Contains(point))
668
this.
previewStrip
.OnMouseDown(e);
691
this.
previewStrip
.OnMouseUp(e);
699
this.
previewStrip
.OnMouseLeave();
711
if (this.
previewStrip
.ActiveItem != null)
712
selectedItem = this.
previewStrip
.Items.IndexOf(
previewStrip
.ActiveItem);
733
if (selectedItem != -1 && selectedItem < this.
previewStrip
.Items.Count)
735
ItemInfo itemInfo = this.
previewStrip
.Items[selectedItem];
771
if (listChangeArgs.Index < this.
previewStrip
.Items.Count)
772
this.
previewStrip
.Items.Insert(listChangeArgs.Index, itemToAdd);
774
this.
previewStrip
.Items.Add(itemToAdd);
778
int index = this.
previewStrip
.Items.IndexOf(new ItemInfo(listChangeArgs.RemovedItems[0].GetHashCode()));
780
this.
previewStrip
.Items.RemoveAt(index);
791
int activeDropTarget = this.
previewStrip
.ActiveDropTarget;
792
Rectangle[] dropTargets = this.
previewStrip
.DropTargets;
809
foreach (ItemInfo itemInfo in this.
previewStrip
.Items)
813
this.
previewStrip
.ActiveItem = itemInfo;
867
ItemInfo activeItem = this.
previewStrip
.ActiveItem;
871
int index = this.
previewStrip
.Items.IndexOf(activeItem) + ((viewNext) ? 1 : -1);
872
index = (index >= this.
previewStrip
.Items.Count) ? 0 : (index < 0) ? this.
previewStrip
.Items.Count - 1 : index;
873
this.
previewStrip
.ActiveItem = this.
previewStrip
.Items[index];
882
designerVerb.Enabled = (this.
previewStrip
.ActiveItem != null && this.
previewStrip
.Items.Count > 1 && this.
previewStrip
.Items.IndexOf(this.
previewStrip
.ActiveItem) >= 0);
907
foreach (ItemInfo item in this.
previewStrip
.Items)
934
Rectangle itemBounds = this.parentDesigner.
previewStrip
.GetItemBounds(this.item);
965
return this.parentDesigner.
previewStrip
.GetItemBounds(this.item);
985
Rectangle rectangle = this.parentDesigner.
previewStrip
.GetItemBounds(this.item);
1028
childCount += activityCollectionDesigner.
previewStrip
.AccessibilityObjects.Length;
1046
if (index < activityCollectionDesigner.
previewStrip
.AccessibilityObjects.Length)
1047
return activityCollectionDesigner.
previewStrip
.AccessibilityObjects[index];
1048
index -= activityCollectionDesigner.
previewStrip
.AccessibilityObjects.Length;