51 references to DirState
PresentationFramework (51)
System\Windows\Documents\RtfToXamlReader.cs (31)
435internal static string AlignmentToString(HAlign a, DirState ds) 440return (ds != DirState.DirRTL) ? "Left" : "Right"; 442return (ds != DirState.DirRTL) ? "Right" : "Left"; 832_dirChar = DirState.DirLTR; 855_dirPara = DirState.DirLTR; 1178internal DirState DirChar 1401internal DirState DirPara 1799private DirState _dirChar; // Character level direction 1819private DirState _dirPara; // Paragraph level direction 2788_dir = DirState.DirLTR; 2890internal DirState Dir 3054private DirState _dir; 5115if (FormatState.RowFormat.Dir == DirState.DirRTL) 5183if (XamlDir == DirState.DirLTR) 6024internal DirState XamlDir 6060return DirState.DirLTR; 6065internal DirState ParentXamlDir 6069return (Parent == null) ? DirState.DirLTR : Parent.XamlDir; 6085return ParentXamlDir == DirState.DirLTR ? FormatState.LI : FormatState.RI; 6089if (ParentXamlDir == DirState.DirLTR) 6104return ParentXamlDir == DirState.DirLTR ? FormatState.RI : FormatState.LI; 7233DirState ds = DirState.DirDefault; 7241if (ds == DirState.DirDefault) 7253if (!bConflict && ds != DirState.DirDefault) 9265formatState.DirChar = DirState.DirLTR; 9270formatState.DirPara = DirState.DirLTR; 9273formatState.DirChar = DirState.DirRTL; 9278formatState.DirPara = DirState.DirRTL; 10660formatState.RowFormat.Dir = DirState.DirRTL; 10663formatState.RowFormat.Dir = DirState.DirLTR;
System\Windows\Documents\XamlToRtfWriter.cs (20)
709bool outDir = fsThis.DirChar != DirState.DirDefault 817if (fsThis.DirChar == DirState.DirLTR) 947if (fsThis.DirPara == DirState.DirRTL) 969if (fsThis.DirPara != DirState.DirRTL) 980if (fsThis.DirPara != DirState.DirRTL) 1059if (fsThis.DirPara == DirState.DirRTL) 1116if (fsThis.DirPara != DirState.DirRTL) 1126if (fsThis.DirPara != DirState.DirRTL) 1428DirState dirHere = dnTable != null ? dnTable.XamlDir : DirState.DirLTR; 1429DirState dirPa = dnTable != null ? dnTable.ParentXamlDir : DirState.DirLTR; 1434long l = dirPa == DirState.DirLTR ? dnTable.FormatState.LI : dnTable.FormatState.RI; 1450if (dirHere == DirState.DirRTL) 2939DirState dirState = DirState.DirDefault; 2964if (formatState.DirPara == DirState.DirRTL) 3686internal static bool ConvertToDir(ConverterState converterState, string dirName, ref DirState dirState) 3693dirState = DirState.DirRTL; 3698dirState = DirState.DirLTR;