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