45 references to State
System.Windows.Forms (45)
System\Windows\Forms\Controls\TabControl\TabControl.cs (45)
120SetState(State.Multiline, true); 305if (GetState(State.HotTrack)) 430get => GetState(State.HotTrack); 435SetState(State.HotTrack, value); 509SetState(State.GetTabRectfromItemSize, true); 542get => GetState(State.InsertingItem); 543set => SetState(State.InsertingItem, value); 558get => GetState(State.Multiline); 563SetState(State.Multiline, value); 670if (!GetState(State.FromCreateHandles) && !GetState(State.SelectFirstControl)) 672SetState(State.UISelection, true); 676SetState(State.UISelection, false); 682SetState(State.UISelection, false); 689if (!GetState(State.FromCreateHandles) && !GetState(State.SelectFirstControl)) 693SetState(State.SelectFirstControl, true); 696SetState(State.UISelection, false); 697SetState(State.SelectFirstControl, false); 702SetState(State.SelectFirstControl, false); 781get => GetState(State.ShowToolTips); 786SetState(State.ShowToolTips, value); 1107if (!GetState(State.GetTabRectfromItemSize)) 1112SetState(State.GetTabRectfromItemSize, false); 1280SetState(State.FromCreateHandles, true); 1285SetState(State.FromCreateHandles, false); 1447UpdateTabSelection(GetState(State.UISelection)); 1448SetState(State.UISelection, false); 1558SetState(State.FromCreateHandles, true); 1563SetState(State.FromCreateHandles, false); 1707SetState(State.UISelection, false); 1713SetState(State.UISelection, false); 1739SetState(State.UISelection, true); 1740SetState(State.SelectFirstControl, true); 1743SetState(State.SelectFirstControl, !focused); 1751SetState(State.SelectFirstControl, false); 1838if (!Focused || GetState(State.SelectFirstControl)) 1840SetState(State.UISelection, false); 2055SetState(State.UISelection, false); 2062SetState(State.UISelection, false); 2067SetState(State.UISelection, true); 2075SetState(State.UISelection, false); 2080SetState(State.UISelection, true); 2104private bool GetState(State state) => _tabControlState[(int)state]; 2106private void SetState(State state, bool value) => _tabControlState[(int)state] = value;