108 references to Owner
System.Windows.Forms (108)
winforms\Managed\System\WinForms\ButtonBase.cs (2)
1346
((ButtonBase)
Owner
).OnClick(EventArgs.Empty);
1354
ButtonBase owner = (ButtonBase)
Owner
;
winforms\Managed\System\WinForms\CheckBox.cs (5)
731
string defaultAction =
Owner
.AccessibleDefaultActionDescription;
736
if (((CheckBox)
Owner
).Checked) {
751
AccessibleRole role =
Owner
.AccessibleRole;
765
switch (((CheckBox)
Owner
).CheckState) {
782
CheckBox cb = this.
Owner
as CheckBox;
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
1572
return (CheckedListBox)
Owner
;
1691
return(CheckedListBox)parent.
Owner
;
winforms\Managed\System\WinForms\Control.cs (14)
19674
QueryAccessibilityHelpEventHandler handler = (QueryAccessibilityHelpEventHandler)
Owner
.Events[EventQueryAccessibilityHelp];
19678
handler(
Owner
, args);
19782
Control parent =
Owner
.ParentInternal;
19795
for (Control previous = container.GetNextControl(
Owner
, false);
19838
QueryAccessibilityHelpEventHandler handler = (QueryAccessibilityHelpEventHandler)
Owner
.Events[EventQueryAccessibilityHelp];
19842
handler(
Owner
, args);
19912
if (!(this.
Owner
is IAutomationLiveRegion)) {
19920
if (AccessibilityImprovements.Level3 && this.
Owner
is IAutomationLiveRegion) {
19928
if (AccessibilityImprovements.Level3 && propertyID == NativeMethods.UIA_LiveSettingPropertyId &&
Owner
is IAutomationLiveRegion) {
19929
return ((IAutomationLiveRegion)
Owner
).LiveSetting;
19932
if (
Owner
.SupportsUiaProviders) {
19935
return
Owner
.CanSelect;
19967
if (
Owner
!= null) {
19968
return "ControlAccessibleObject: Owner = " +
Owner
.ToString();
winforms\Managed\System\WinForms\DataGrid.cs (8)
9050
return (DataGrid)
Owner
;
9056
return ((DataGrid)
Owner
).myGridTable.GridColumnStyles.Count;
9062
return ((DataGrid)
Owner
).dataGridRows.Length;
9071
string name =
Owner
.AccessibleName;
9084
Owner
.AccessibleName = value;
9090
AccessibleRole role =
Owner
.AccessibleRole;
9098
DataGrid dataGrid = (DataGrid)
Owner
;
9155
int n = 1 + ColumnCountPrivate + ((DataGrid)
Owner
).DataGridRowsLength;
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (1)
40
string name = this.
Owner
.AccessibleName;
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (2)
224
var owner =
Owner
as IDataGridViewEditingControl;
240
return (
Owner
as IDataGridViewEditingControl)?.EditingControlDataGridView?.AccessibilityObject;
winforms\Managed\System\WinForms\DataGridViewEditingControl.cs (3)
99
return (
Owner
as IDataGridViewEditingControl)?.EditingControlDataGridView?.CurrentCell?.AccessibilityObject;
107
ComboBox ownerComboBoxControl =
Owner
as ComboBox;
131
ComboBox ownerComboBoxControl =
Owner
as ComboBox;
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (3)
375
string name =
Owner
.AccessibleName;
397
var owner =
Owner
as IDataGridViewEditingControl;
413
return (
Owner
as IDataGridViewEditingControl)?.EditingControlDataGridView?.AccessibilityObject;
winforms\Managed\System\WinForms\DateTimePicker.cs (9)
1773
char ownerTextMnemonic = WindowsFormsUtils.GetMnemonic(this.
Owner
.Text, false /*convertToUpperCase*/);
1789
return
Owner
.Text;
1800
if(((DateTimePicker)
Owner
).ShowCheckBox &&
1801
((DateTimePicker)
Owner
).Checked) {
1812
AccessibleRole role =
Owner
.AccessibleRole;
1840
if (patternId == NativeMethods.UIA_TogglePatternId && ((DateTimePicker)
Owner
).ShowCheckBox) {
1851
return ((DateTimePicker)
Owner
).Checked ?
1858
((DateTimePicker)
Owner
).Checked = !((DateTimePicker)
Owner
).Checked;
winforms\Managed\System\WinForms\DomainUpDown.cs (6)
742
return ((DomainUpDown)
Owner
).GetAccessibleName(baseName);
764
AccessibleRole role =
Owner
.AccessibleRole;
787
return ((UpDownBase)
Owner
).TextBox.AccessibilityObject.Parent;
792
return ((UpDownBase)
Owner
).UpDownButtonsInternal.AccessibilityObject.Parent;
852
return new DomainItemAccessibleObject(((DomainUpDown)parent.
Owner
).Items[index].ToString(), this);
859
return ((DomainUpDown)parent.
Owner
).Items.Count;
winforms\Managed\System\WinForms\GroupBox.cs (1)
826
AccessibleRole role =
Owner
.AccessibleRole;
winforms\Managed\System\WinForms\Label.cs (1)
1772
AccessibleRole role =
Owner
.AccessibleRole;
winforms\Managed\System\WinForms\LinkLabel.cs (6)
2658
if (index >= 0 && index < ((LinkLabel)
Owner
).Links.Count) {
2659
return new LinkAccessibleObject(((LinkLabel)
Owner
).Links[index]);
2668
if (!
Owner
.Enabled) {
2677
Point p =
Owner
.PointToClient(new Point(x, y));
2678
Link hit = ((LinkLabel)
Owner
).PointInLink(p.X, p.Y);
2692
return((LinkLabel)
Owner
).Links.Count;
winforms\Managed\System\WinForms\MenuStrip.cs (1)
292
AccessibleRole role =
Owner
.AccessibleRole;
winforms\Managed\System\WinForms\NumericUpDown.cs (4)
911
return ((NumericUpDown)
Owner
).GetAccessibleName(baseName);
920
AccessibleRole role =
Owner
.AccessibleRole;
941
return ((UpDownBase)
Owner
).TextBox.AccessibilityObject.Parent;
947
return ((UpDownBase)
Owner
).UpDownButtonsInternal.AccessibilityObject.Parent;
winforms\Managed\System\WinForms\ProgressBar.cs (1)
925
return
Owner
as ProgressBar;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
2959
return(PropertyGridView)((PropertyGridView.PropertyGridViewAccessibleObject)Parent).
Owner
;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (3)
1056
var propertyGridView = propertyGridViewAccessibleObject.
Owner
as PropertyGridView;
1061
propertyGridView = propertyGridViewAccessibleObject.
Owner
as PropertyGridView;
1123
return propertyGridViewAccessibleObject.
Owner
as PropertyGridView;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (15)
7024
string name =
Owner
.AccessibleName;
7435
string name =
Owner
.AccessibleName;
7447
AccessibleRole role =
Owner
.AccessibleRole;
7458
int row = ((PropertyGridView)
Owner
).GetRowFromGridEntry(current);
7459
GridEntry nextEntry = ((PropertyGridView)
Owner
).GetGridEntryFromRow(++row);
7639
int row = ((PropertyGridView)
Owner
).GetRowFromGridEntry(current);
7640
GridEntry prevEntry = ((PropertyGridView)
Owner
).GetGridEntryFromRow(--row);
7676
GridEntryCollection properties = ((PropertyGridView)
Owner
).AccessibilityGetGridEntries();
7692
GridEntryCollection properties = ((PropertyGridView)
Owner
).AccessibilityGetGridEntries();
7708
GridEntry gridEntry = ((PropertyGridView)
Owner
).SelectedGridEntry;
7720
GridEntry gridEntry = ((PropertyGridView)
Owner
).SelectedGridEntry;
7740
UnsafeNativeMethods.ScreenToClient(new HandleRef(
Owner
,
Owner
.Handle), pt);
7744
Point pos = ((PropertyGridView)
Owner
).FindPosition(pt.x, pt.y);
7746
GridEntry gridEntry = ((PropertyGridView)
Owner
).GetGridEntryFromRow(pos.Y);
winforms\Managed\System\WinForms\RadioButton.cs (4)
657
string defaultAction =
Owner
.AccessibleDefaultActionDescription;
672
AccessibleRole role =
Owner
.AccessibleRole;
686
if (((RadioButton)
Owner
).Checked) {
699
((RadioButton)
Owner
).PerformClick();
winforms\Managed\System\WinForms\StatusStrip.cs (2)
639
AccessibleRole role =
Owner
.AccessibleRole;
656
StatusStrip statusStrip =
Owner
as StatusStrip;
winforms\Managed\System\WinForms\ToolStrip.cs (1)
5072
AccessibleRole role =
Owner
.AccessibleRole;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (2)
783
var toolStripComboBoxControl =
Owner
as ToolStripComboBoxControl;
795
var toolStripComboBoxControl = this.
Owner
as ToolStripComboBoxControl;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (1)
2326
AccessibleRole role =
Owner
.AccessibleRole;
winforms\Managed\System\WinForms\ToolStripOverflow.cs (2)
168
return ((ToolStripOverflow)
Owner
).DisplayedItems[index].AccessibilityObject;
172
return ((ToolStripOverflow)
Owner
).DisplayedItems.Count;
winforms\Managed\System\WinForms\ToolStripProgressBar.cs (2)
550
var toolStripProgressBarControl = this.
Owner
as ToolStripProgressBarControl;
564
var toolStripProgressBarControl =
Owner
as ToolStripProgressBarControl;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
910
var toolStripTextBoxControl = this.
Owner
as ToolStripTextBoxControl;
924
var toolStripTextBoxControl =
Owner
as ToolStripTextBoxControl;
winforms\Managed\System\WinForms\UpDownBase.cs (4)
1826
return
Owner
.ParentInternal.GetType().Name;
1843
AccessibleRole role =
Owner
.AccessibleRole;
1911
Rectangle bounds = ((UpDownButtons)parent.
Owner
).Bounds;
1919
return (((UpDownButtons)parent.
Owner
).ParentInternal).RectangleToScreen(bounds);