4 overrides of Focused
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ComboBox.cs (1)
651public override bool Focused {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
6569public override bool Focused {
winforms\Managed\System\WinForms\UpDownBase.cs (1)
405public override bool Focused {
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1196public override bool Focused {
106 references to Focused
System.Windows.Forms (101)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
87(Control.Focused || Control.MouseIsOver || (Control.IsDefault && Control.Enabled)); 542if (Control.Focused && Control.ShowFocusCues) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (6)
83if (Control.Focused && Control.ShowFocusCues) { 88if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) { 158if (Control.Focused && Control.ShowFocusCues) { 162if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) { 242if (Control.Focused && Control.ShowFocusCues) { 246if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (2)
43else if (Control.Focused || Control.IsDefault) { 190if (Control.Focused && Control.ShowFocusCues) {
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
853if (Focused) { 1741if (AccessibilityImprovements.Level3 && ParentCheckedListBox.Focused && ParentCheckedListBox.SelectedIndex == -1) {
winforms\Managed\System\WinForms\ComboBox.cs (1)
653if (base.Focused) return true;
winforms\Managed\System\WinForms\ContainerControl.cs (1)
1385if (activeControl != value || (value != null && !value.Focused)) {
winforms\Managed\System\WinForms\Control.cs (2)
6372if (Focused && this.ParentInternal != null) { 6386return Focused;
winforms\Managed\System\WinForms\Control.Ime.cs (3)
292if( Focused ) { 472if (!DesignMode && (inputLanguageTable != ImeModeConversion.UnsupportedTable) && Focused) { 565if( Focused ) {
winforms\Managed\System\WinForms\DataGrid.cs (5)
1619if (this.Controls[i].Focused) { 5232if (focusTheGrid && gridState[GRIDSTATE_canFocus] && CanFocus && !Focused) 8354if (gridState[GRIDSTATE_canFocus] && CanFocus && !Focused) 8399if (gridState[GRIDSTATE_canFocus] && CanFocus && !Focused) 9167if (DataGrid.Focused) {
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (1)
291if (!grid.Focused)
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
965if (DataGrid.Focused && Owner.dgTable.FocusedRelation == relationship) {
winforms\Managed\System\WinForms\DataGridRow.cs (2)
844if (DataGrid.Focused) { 962if (DataGrid.Focused) {
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (2)
281bool wasFocused = edit.Focused; 300Debug.Assert(!edit.Focused, "the edit control just conceeded focus to the dataGrid");
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (1)
177if (this.owner.Focused && this.owner.CurrentCell != null)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
779this.DataGridView.Focused) 937this.DataGridView.Focused &&
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1241this.DataGridView.Focused &&
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
2534this.DataGridView.Focused &&
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
949this.DataGridView.Focused)
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (3)
1065this.DataGridView.Focused && 1115this.DataGridView.Focused && 1140this.DataGridView.Focused &&
winforms\Managed\System\WinForms\DataGridViewMethods.cs (11)
3163else if (this.ptCurrentCell.X == -1 && this.Focused) 4103if (this.Focused && 5215if ((!onlyIfGridHasFocus || this.Focused) && this.editingControl != null) 15467if (this.Focused && 17152if (this.Focused && this.IsGridFocusRectangleEnabled()) 17919if (this.Focused && this.IsGridFocusRectangleEnabled() && oldGridFocusRectangle != newGridFocusRectangle) 19388if (this.Focused && this.IsGridFocusRectangleEnabled()) 20609if (this.Focused) 20681if (this.dataGridViewState1[DATAGRIDVIEWSTATE1_leavingWithTabKey] && this.Focused) 27037if (this.Focused && 27068if (this.Focused &&
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
2219if (this.owner.DataGridView.Focused && this.owner.DataGridView.CurrentCell != null && this.owner.DataGridView.CurrentCell.RowIndex == this.owner.Index)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
741this.DataGridView.Focused &&
winforms\Managed\System\WinForms\Form.cs (1)
4083return Focused;
winforms\Managed\System\WinForms\LinkLabel.cs (1)
1449if (Focused && ShowFocusCues && FocusLink == link) {
winforms\Managed\System\WinForms\ListViewItem.cs (1)
960if (!lv.Focused)
winforms\Managed\System\WinForms\MaskedTextBox.cs (2)
510if( !this.flagState[IS_NULL_MASK]&& !this.Focused && !this.MaskFull && !this.DesignMode ) 1919includePrompt = !(this.HidePromptOnLeave && !this.Focused);
winforms\Managed\System\WinForms\MdiWindowListStrip.cs (2)
158if (dialog.ActiveChildForm.ActiveControl != null && !dialog.ActiveChildForm.ActiveControl.Focused) { 184if (boundForm.ActiveControl != null && !boundForm.ActiveControl.Focused) {
winforms\Managed\System\WinForms\MenuItem.cs (2)
1804if (boundForm.ActiveControl != null && !boundForm.ActiveControl.Focused) { 1846if (dialog.ActiveChildForm.ActiveControl != null && !dialog.ActiveChildForm.ActiveControl.Focused) {
winforms\Managed\System\WinForms\MenuStrip.cs (2)
219if (!(Focused || ContainsFocus)) { 247if (Focused || !ContainsFocus) {
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
3772if (toolStrip.Focused || !toolStrip.Visible) { 3799if (toolStrip.Focused) { 4793return toolStrip.Visible && toolStrip.Focused;
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (2)
112if (Focused) { 214if (AccessibilityImprovements.Level3 && IsFilledWithHighlightColor && (Control.MouseIsOver || Control.Focused)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (14)
994if (Edit.Focused || DialogButton.Focused || DropDownButton.Focused) { 1016if (DialogButton.Focused && !gotfocus) { 1021if (DropDownButton.Focused && !gotfocus) { 4014else if (DialogButton.Focused || DropDownButton.Focused) { 4029if (DialogButton.Focused || DropDownButton.Focused) { 4030OnBtnClick((DialogButton.Focused ? DialogButton : DropDownButton), new EventArgs()); 5243if (this.Focused) { 5259if (Edit.Focused || DropDownButton.Focused || DialogButton.Focused) { 6301return _owningGridViewListBox.Focused; 6574return base.Focused;
winforms\Managed\System\WinForms\RadioButton.cs (1)
615if (!Focused) {
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1383if (Focused) {
winforms\Managed\System\WinForms\TabControl.cs (2)
1810bool focused = Focused; 1934if (!Focused || tabControlState[TABCONTROLSTATE_selectFirstControl]) {
winforms\Managed\System\WinForms\ToolStrip.cs (7)
531if (!Focused) { 1927if (ContainsFocus && !Focused) { 3017if (Focused || ContainsFocus) { 4092if (!DesignMode && !TabStop && (Focused || ContainsFocus)) { 4101if (KeyboardActive && !Focused && !ContainsFocus) { 4513if (Focused && (otherHwnd != this.Handle)) { 4518else if (!ContainsFocus && !Focused) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (2)
260return Control.Focused; 458return Control.Focused;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
690if (!Focused) { 860Color outerBorderColor = (MouseIsOver || Focused) ? ColorTable.TextBoxBorder : this.BackColor;
winforms\Managed\System\WinForms\TreeNode.cs (1)
1206if (!tv.Focused)
winforms\Managed\System\WinForms\TreeView.cs (1)
2838Color color = (((curState & TreeNodeStates.Selected) == TreeNodeStates.Selected) && node.TreeView.Focused) ? SystemColors.HighlightText : (node.ForeColor != Color.Empty) ? node.ForeColor : node.TreeView.ForeColor;
winforms\Managed\System\WinForms\UpDownBase.cs (1)
407return upDownEdit.Focused;
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1198if (base.Focused) {
System.Workflow.Activities (2)
Rules\Design\Dialogs\IntellisenseTextBox.cs (2)
249if ((this.listBoxAutoComplete.Focused == false) && (this.Focused == false))
System.Workflow.ComponentModel (3)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (3)
592if (!this.artifactListView.Focused || this.artifactListView.SelectedItems.Count == 0) 833if (this.artifactListView.Focused) 921if (this.artifactTreeView.Focused)