Implemented interface member:
property
Owner
System.Windows.Forms.IOwnedObject<TOwner>.Owner
26 references to Owner
System.Windows.Forms (19)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (19)
199public override string? DefaultAction => Owner?.AccessibleDefaultActionDescription ?? base.DefaultAction; 201internal override bool CanGetDefaultActionInternal => IsInternal && Owner?.AccessibleDefaultActionDescription is null; 218public override string? Description => Owner?.AccessibleDescription ?? base.Description; 220internal override bool CanGetDescriptionInternal => IsInternal && Owner?.AccessibleDescription is null; 223/// Gets or sets the handle of the accessible object's associated <see cref="Owner"/> control. 226/// An <see cref="IntPtr"/> that represents the handle of the associated <see cref="Owner"/> control. 231/// the <see cref="Control.Handle"/> property of the <see cref="Owner"/> it is associated with. 243_handle = Owner?.HWND ?? default; 278handler(Owner, args); 430AccessibleRole role = Owner?.AccessibleRole ?? AccessibleRole.Default; 472new HandleRef<HWND>(Owner, HandleInternal), 505=> Owner is IAutomationLiveRegion || base.IsIAccessibleExSupported(); 515=> Owner?.Enabled == true ? VARIANT.True : VARIANT.False, 517Owner?.SupportsUiaProviders ?? false 518=> (VARIANT)Owner.CanSelect, 520=> Owner is IAutomationLiveRegion owner 524=> UIAHelper.WindowHandleToVariant(Owner?.InternalHandle ?? HWND.Null), 553Owner?.ToolStripControlHost?.Owner?.AccessibilityObject; 556=> $"{nameof(ControlAccessibleObject)}: Owner = {Owner?.ToString() ?? "null"}";
System.Windows.Forms.Design (7)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
356public override string? Value => Owner?.Text;
System\Drawing\Design\ColorEditor.ColorPalette.ColorPaletteAccessibleObject.cs (1)
21internal ColorPalette? ColorPalette => (ColorPalette?)Owner;
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (2)
342public override string DefaultAction => ((SpringControl)Owner!).IsSolid 352if (((SpringControl)Owner!).IsSolid)
System\Windows\Forms\Design\ComponentTray.cs (1)
2560get => ((TrayControl)Owner).Component;
System\Windows\Forms\Design\ControlDesigner.ControlDesignerAccessibleObject.cs (1)
83if (cao.Owner is not { } owner)
System\Windows\Forms\Design\DesignerFrame.cs (1)
544foreach (Control c in Owner!.Controls)