11 references to HorizontalTextAlignment
System.Windows.Forms.Primitives (3)
System\Windows\Forms\Automation\UiaTextRange.cs (3)
898
?
HorizontalTextAlignment
.Centered
900
?
HorizontalTextAlignment
.Right
901
:
HorizontalTextAlignment
.Left);
System.Windows.Forms.Primitives.Tests (8)
System\Windows\Forms\Automation\TestAccessors.UiaTextRangeTestAccessor.cs (2)
36
public
HorizontalTextAlignment
GetHorizontalTextAlignment(WINDOW_STYLE windowStyle)
37
=> (
HorizontalTextAlignment
)Dynamic.GetHorizontalTextAlignment(windowStyle);
System\Windows\Forms\Automation\UiaTextRangeTests.cs (6)
485
yield return new object[] { UIA_TEXTATTRIBUTE_ID.UIA_HorizontalTextAlignmentAttributeId, (int)
HorizontalTextAlignment
.Left };
1119
[InlineData(PInvoke.ES_CENTER, (int)
HorizontalTextAlignment
.Centered)]
1120
[InlineData(PInvoke.ES_LEFT, (int)
HorizontalTextAlignment
.Left)]
1121
[InlineData(PInvoke.ES_RIGHT, (int)
HorizontalTextAlignment
.Right)]
1128
HorizontalTextAlignment
actual = textRange.TestAccessor().GetHorizontalTextAlignment((WINDOW_STYLE)style);
1130
Assert.Equal((
HorizontalTextAlignment
)expected, actual);