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