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)
199
public override string? DefaultAction =>
Owner
?.AccessibleDefaultActionDescription ?? base.DefaultAction;
201
internal override bool CanGetDefaultActionInternal => IsInternal &&
Owner
?.AccessibleDefaultActionDescription is null;
218
public override string? Description =>
Owner
?.AccessibleDescription ?? base.Description;
220
internal 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;
278
handler(
Owner
, args);
430
AccessibleRole role =
Owner
?.AccessibleRole ?? AccessibleRole.Default;
472
new HandleRef<HWND>(
Owner
, HandleInternal),
505
=>
Owner
is IAutomationLiveRegion || base.IsIAccessibleExSupported();
515
=>
Owner
?.Enabled == true ? VARIANT.True : VARIANT.False,
517
Owner
?.SupportsUiaProviders ?? false
518
=> (VARIANT)
Owner
.CanSelect,
520
=>
Owner
is IAutomationLiveRegion owner
524
=> UIAHelper.WindowHandleToVariant(
Owner
?.InternalHandle ?? HWND.Null),
553
Owner
?.ToolStripControlHost?.Owner?.AccessibilityObject;
556
=> $"{nameof(ControlAccessibleObject)}: Owner = {
Owner
?.ToString() ?? "null"}";
System.Windows.Forms.Design (7)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
356
public override string? Value =>
Owner
?.Text;
System\Drawing\Design\ColorEditor.ColorPalette.ColorPaletteAccessibleObject.cs (1)
21
internal ColorPalette? ColorPalette => (ColorPalette?)
Owner
;
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (2)
342
public override string DefaultAction => ((SpringControl)
Owner
!).IsSolid
352
if (((SpringControl)
Owner
!).IsSolid)
System\Windows\Forms\Design\ComponentTray.cs (1)
2560
get => ((TrayControl)
Owner
).Component;
System\Windows\Forms\Design\ControlDesigner.ControlDesignerAccessibleObject.cs (1)
83
if (cao.
Owner
is not { } owner)
System\Windows\Forms\Design\DesignerFrame.cs (1)
544
foreach (Control c in
Owner
!.Controls)