8 overrides of Help
System.Windows.Forms (8)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
271
public override string?
Help
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (1)
86
public override string?
Help
=> GetHelpInternal().ToNullableStringAndFree();
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
125
public override string?
Help
=> GetHelpInternal().ToNullableStringAndFree();
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
88
public override string?
Help
=> GetHelpInternal().ToNullableStringAndFree();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
64
public override string?
Help
=> this.TryGetOwnerAs(out GridEntry? owner) ? owner.PropertyDescription : string.Empty;
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
110
public override string?
Help
=> GetHelpInternal().ToNullableStringAndFree();
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
51
public override string?
Help
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
35
public override string?
Help
=> GetHelpInternal().ToNullableStringAndFree();
42 references to Help
System.Windows.Forms (7)
System\Windows\Forms\Accessibility\AccessibleObject.cs (5)
194
/// Determines if <see cref="GetHelpInternal"/> can be called without calling <see cref="
Help
"/>
637
UIA_PROPERTY_ID.UIA_HelpTextPropertyId => (VARIANT)(
Help
?? string.Empty),
1257
: new(
Help
);
2085
: new(
Help
);
2095
: new(child.
Help
);
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
283
return base.
Help
;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
63
return base.
Help
;
System.Windows.Forms.Tests (35)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (17)
24
Assert.Null(accessibleObject.
Help
);
619
Assert.Null(accessibleObject.
Help
);
638
Assert.Null(accessibleObject.
Help
);
659
Assert.Null(accessibleObject.
Help
);
685
Assert.Null(accessibleObject.
Help
);
704
Assert.Null(accessibleObject.
Help
);
723
Assert.Null(accessibleObject.
Help
);
742
Assert.Null(accessibleObject.
Help
);
763
Assert.Null(accessibleObject.
Help
);
784
Assert.Null(accessibleObject.
Help
);
805
Assert.Null(accessibleObject.
Help
);
1720
.Setup(a => a.
Help
)
1728
mockAccessibleObject.Verify(a => a.
Help
, Times.Once());
1742
.Setup(a => a.
Help
)
1750
.Setup(a => a.
Help
)
1776
mockAccessibleObjectChild1.Verify(a => a.
Help
, Times.Exactly(child1CallCount));
1777
mockAccessibleObjectChild2.Verify(a => a.
Help
, Times.Exactly(child2CallCount));
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
176
Assert.Null(accessibleObject.
Help
);
700
Assert.Equal(accessibleObject.
Help
?? string.Empty, ((BSTR)actual).ToStringAndFree());
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (2)
20
Assert.Null(accessibleObject.
Help
);
38
Assert.Null(accessibleObject.
Help
);
System\Windows\Forms\AccessibleObjects\LinkLabel.Link.LinkAccessibleObjectTests.cs (1)
238
Assert.Equal(accessibleObject.
Help
?? string.Empty, actual);
System\Windows\Forms\AccessibleObjects\ListBox.ListBoxItemAccessibleObjectTests.cs (1)
116
Assert.Equal(itemAccessibleObject.
Help
?? string.Empty, actual);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
63
Assert.Null(accessibleObject.
Help
);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
63
Assert.Null(accessibleObject.
Help
);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
52
Assert.Null(accessibleObject.
Help
);
System\Windows\Forms\HelpProviderTests.cs (9)
363
Assert.Equal(string.IsNullOrEmpty(helpString) ? null : helpString, control.AccessibilityObject.
Help
);
369
Assert.Equal(string.IsNullOrEmpty(helpString) ? null : helpString, control.AccessibilityObject.
Help
);
383
Assert.Equal(helpString, control.AccessibilityObject.
Help
);
389
Assert.Equal(helpString, control.AccessibilityObject.
Help
);
403
Assert.Equal(string.IsNullOrEmpty(helpString) ? null : helpString, control.AccessibilityObject.
Help
);
409
Assert.Equal(string.IsNullOrEmpty(helpString) ? null : helpString, control.AccessibilityObject.
Help
);
464
Assert.Equal("HelpString", control.AccessibilityObject.
Help
);
470
Assert.Null(control.AccessibilityObject.
Help
);
476
Assert.Equal("HelpString", control.AccessibilityObject.
Help
);