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)
36public HorizontalTextAlignment GetHorizontalTextAlignment(WINDOW_STYLE windowStyle) 37=> (HorizontalTextAlignment)Dynamic.GetHorizontalTextAlignment(windowStyle);
System\Windows\Forms\Automation\UiaTextRangeTests.cs (6)
485yield 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)] 1128HorizontalTextAlignment actual = textRange.TestAccessor().GetHorizontalTextAlignment((WINDOW_STYLE)style); 1130Assert.Equal((HorizontalTextAlignment)expected, actual);