1 implementation of ExpandToEnclosingUnit
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Automation\UiaTextRange.cs (1)
169
HRESULT ITextRangeProvider.Interface.
ExpandToEnclosingUnit
(TextUnit unit)
6 references to ExpandToEnclosingUnit
System.Windows.Forms.Primitives (1)
Windows.Win32.ITextRangeProvider.g.cs (1)
176
return __object.
ExpandToEnclosingUnit
(unit);
System.Windows.Forms.Primitives.Tests (5)
System\Windows\Forms\Automation\UiaTextRangeTests.cs (5)
293
Assert.True(((ITextRangeProvider.Interface)textRange).
ExpandToEnclosingUnit
(TextUnit.TextUnit_Character).Succeeded);
311
Assert.True(((ITextRangeProvider.Interface)textRange).
ExpandToEnclosingUnit
(TextUnit.TextUnit_Word).Succeeded);
342
Assert.True(((ITextRangeProvider.Interface)textRange).
ExpandToEnclosingUnit
(TextUnit.TextUnit_Line).Succeeded);
363
Assert.True(((ITextRangeProvider.Interface)textRange).
ExpandToEnclosingUnit
(TextUnit.TextUnit_Paragraph).Succeeded);
388
Assert.True(((ITextRangeProvider.Interface)textRange).
ExpandToEnclosingUnit
(textUnit).Succeeded);