9 references to State
System.Windows.Forms (6)
winforms\Managed\System\WinForms\CheckedListBox.cs (5)
681
VisualStyles.CheckBoxState cbState = CheckBoxRenderer.ConvertFromButtonState(state, false, ((e.
State
& DrawItemState.HotLight) == DrawItemState.HotLight));
711
VisualStyles.CheckBoxState cbState = CheckBoxRenderer.ConvertFromButtonState(state, false, ((e.
State
& DrawItemState.HotLight) == DrawItemState.HotLight));
744
if (SelectionMode != SelectionMode.None && (e.
State
& DrawItemState.Selected) == DrawItemState.Selected) {
838
if ((e.
State
& DrawItemState.Focus) == DrawItemState.Focus &&
839
(e.
State
& DrawItemState.NoFocusRect) != DrawItemState.NoFocusRect) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
2564
DrawValue(die.Graphics, drawBounds, drawBounds, gridEntry, gridEntry.ConvertTextToValue(text), (int)(die.
State
& DrawItemState.Selected) != 0, false, false, false);
System.WorkflowServices (3)
System\Workflow\Activities\Design\RichListBox.cs (3)
121
listItemRenderer.DrawItemState = e.
State
;
122
if ((e.
State
& DrawItemState.Selected) == DrawItemState.Selected)
129
activeItemViewControl.DrawItemState = e.
State
;