9 references to CapStyle
System.Windows.Forms.Primitives (2)
System\Windows\Forms\Automation\UiaTextRange.cs (2)
879
=> (int)(((int)windowStyle & PInvoke.ES_UPPERCASE) != 0 ?
CapStyle
.AllCap :
CapStyle
.None);
System.Windows.Forms.Primitives.Tests (7)
System\Windows\Forms\Automation\TestAccessors.UiaTextRangeTestAccessor.cs (2)
32
public
CapStyle
GetCapStyle(WINDOW_STYLE windowStyle) => (
CapStyle
)Dynamic.GetCapStyle(windowStyle);
System\Windows\Forms\Automation\UiaTextRangeTests.cs (5)
480
yield return new object[] { UIA_TEXTATTRIBUTE_ID.UIA_CapStyleAttributeId, (int)
CapStyle
.None };
1134
[InlineData((PInvoke.ES_UPPERCASE | PInvoke.ES_LEFT | PInvoke.ES_MULTILINE | PInvoke.ES_READONLY | PInvoke.ES_AUTOHSCROLL), (int)
CapStyle
.AllCap)]
1135
[InlineData((PInvoke.ES_LOWERCASE | PInvoke.ES_LEFT | PInvoke.ES_MULTILINE | PInvoke.ES_READONLY | PInvoke.ES_AUTOHSCROLL), (int)
CapStyle
.None)]
1142
CapStyle
actual = textRange.TestAccessor().GetCapStyle((WINDOW_STYLE)editStyle);
1144
Assert.Equal((
CapStyle
)expected, actual);