33 references to HAlign
PresentationFramework (33)
System\Windows\Documents\RtfToXamlReader.cs (16)
436internal static string AlignmentToString(HAlign a, DirState ds) 440case HAlign.AlignLeft: 442case HAlign.AlignRight: 444case HAlign.AlignCenter: 446case HAlign.AlignJustify: 448case HAlign.AlignDefault: 851_align = HAlign.AlignDefault; 1336internal HAlign HAlign 1815private HAlign _align; // Paragraph alignment 5249if (fsThis.HAlign != HAlign.AlignDefault) 9231formatState.HAlign = HAlign.AlignCenter; 9234formatState.HAlign = HAlign.AlignJustify; 9237formatState.HAlign = HAlign.AlignLeft; 9240formatState.HAlign = HAlign.AlignRight; 9283if (formatState.HAlign == HAlign.AlignDefault) 9285formatState.HAlign = HAlign.AlignLeft;
System\Windows\Documents\XamlToRtfWriter.cs (17)
969case HAlign.AlignLeft: 980case HAlign.AlignRight: 991case HAlign.AlignCenter: 995case HAlign.AlignJustify: 1116case HAlign.AlignLeft: 1126case HAlign.AlignRight: 1136case HAlign.AlignCenter: 1139case HAlign.AlignJustify: 3309HAlign halign = HAlign.AlignDefault; 3437new LookupTableEntry("", (int)HAlign.AlignDefault), 3438new LookupTableEntry("Left", (int)HAlign.AlignLeft), 3439new LookupTableEntry("Right", (int)HAlign.AlignRight), 3440new LookupTableEntry("Center", (int)HAlign.AlignCenter), 3441new LookupTableEntry("Justify", (int)HAlign.AlignJustify), 3866internal static bool ConvertToHAlign(ConverterState converterState, string alignName, ref HAlign align) 3873align = (HAlign)BasicLookup(HAlignTable, alignName);