33 references to HAlign
PresentationFramework (33)
System\Windows\Documents\RtfToXamlReader.cs (16)
435internal static string AlignmentToString(HAlign a, DirState ds) 439case HAlign.AlignLeft: 441case HAlign.AlignRight: 443case HAlign.AlignCenter: 445case HAlign.AlignJustify: 447case HAlign.AlignDefault: 850_align = HAlign.AlignDefault; 1335internal HAlign HAlign 1814private HAlign _align; // Paragraph alignment 5248if (fsThis.HAlign != HAlign.AlignDefault) 9230formatState.HAlign = HAlign.AlignCenter; 9233formatState.HAlign = HAlign.AlignJustify; 9236formatState.HAlign = HAlign.AlignLeft; 9239formatState.HAlign = HAlign.AlignRight; 9282if (formatState.HAlign == HAlign.AlignDefault) 9284formatState.HAlign = HAlign.AlignLeft;
System\Windows\Documents\XamlToRtfWriter.cs (17)
968case HAlign.AlignLeft: 979case HAlign.AlignRight: 990case HAlign.AlignCenter: 994case HAlign.AlignJustify: 1115case HAlign.AlignLeft: 1125case HAlign.AlignRight: 1135case HAlign.AlignCenter: 1138case HAlign.AlignJustify: 3308HAlign halign = HAlign.AlignDefault; 3436new LookupTableEntry("", (int)HAlign.AlignDefault), 3437new LookupTableEntry("Left", (int)HAlign.AlignLeft), 3438new LookupTableEntry("Right", (int)HAlign.AlignRight), 3439new LookupTableEntry("Center", (int)HAlign.AlignCenter), 3440new LookupTableEntry("Justify", (int)HAlign.AlignJustify), 3865internal static bool ConvertToHAlign(ConverterState converterState, string alignName, ref HAlign align) 3872align = (HAlign)BasicLookup(HAlignTable, alignName);