24 references to States
System.Workflow.ComponentModel (24)
AuthoringOM\Design\MessageFilters\DynamicActionMessageFilter.cs (22)
132if (buttonBounds.Contains(clientPoint) && action.Buttons[j].State == ActionButton.States.Disabled) 140if (actionButton.State != ActionButton.States.Disabled) 145actionButton.State = ActionButton.States.Pressed; 151actionButton.State = ActionButton.States.Normal; 192if (actionButton.State != ActionButton.States.Disabled && 193actionButton.State != ActionButton.States.Pressed) 196actionButton.State = ActionButton.States.Highlight; 198actionButton.State = ActionButton.States.Normal; 205if (actionButton.State == ActionButton.States.Highlight) 206actionButton.State = ActionButton.States.Normal; 260if (actionButton.State != ActionButton.States.Disabled) 265actionButton.State = ActionButton.States.Highlight; 266else if (actionButton.State == ActionButton.States.Highlight) 267actionButton.State = ActionButton.States.Normal; 386this.actions[this.draggedActionIndex].Buttons[this.draggedButtonIndex].State = ActionButton.States.Highlight; 544if (button.State == ActionButton.States.Normal || button.State == ActionButton.States.Disabled) 547ActivityDesignerPaint.DrawImage(graphics, buttonImage, buttonBounds, new Rectangle(Point.Empty, buttonImage.Size), DesignerContentAlignment.Fill, transparency, (button.State == ActionButton.States.Disabled)); 551ButtonState state = (button.State == ActionButton.States.Highlight) ? ButtonState.Normal : ButtonState.Pushed; 601private States buttonState = States.Normal; 639internal States State
AuthoringOM\Design\WorkflowView.cs (2)
1881this.fitAllAction.Buttons[0].State = ActionButton.States.Normal; 1888if (fitallButton == null || fitallButton.State != ActionButton.States.Pressed)