51 references to DirState
PresentationFramework (51)
System\Windows\Documents\RtfToXamlReader.cs (31)
436internal static string AlignmentToString(HAlign a, DirState ds) 441return (ds != DirState.DirRTL) ? "Left" : "Right"; 443return (ds != DirState.DirRTL) ? "Right" : "Left"; 833_dirChar = DirState.DirLTR; 856_dirPara = DirState.DirLTR; 1179internal DirState DirChar 1402internal DirState DirPara 1800private DirState _dirChar; // Character level direction 1820private DirState _dirPara; // Paragraph level direction 2789_dir = DirState.DirLTR; 2891internal DirState Dir 3055private DirState _dir; 5116if (FormatState.RowFormat.Dir == DirState.DirRTL) 5184if (XamlDir == DirState.DirLTR) 6025internal DirState XamlDir 6061return DirState.DirLTR; 6066internal DirState ParentXamlDir 6070return (Parent == null) ? DirState.DirLTR : Parent.XamlDir; 6086return ParentXamlDir == DirState.DirLTR ? FormatState.LI : FormatState.RI; 6090if (ParentXamlDir == DirState.DirLTR) 6105return ParentXamlDir == DirState.DirLTR ? FormatState.RI : FormatState.LI; 7234DirState ds = DirState.DirDefault; 7242if (ds == DirState.DirDefault) 7254if (!bConflict && ds != DirState.DirDefault) 9266formatState.DirChar = DirState.DirLTR; 9271formatState.DirPara = DirState.DirLTR; 9274formatState.DirChar = DirState.DirRTL; 9279formatState.DirPara = DirState.DirRTL; 10661formatState.RowFormat.Dir = DirState.DirRTL; 10664formatState.RowFormat.Dir = DirState.DirLTR;
System\Windows\Documents\XamlToRtfWriter.cs (20)
710bool outDir = fsThis.DirChar != DirState.DirDefault 818if (fsThis.DirChar == DirState.DirLTR) 948if (fsThis.DirPara == DirState.DirRTL) 970if (fsThis.DirPara != DirState.DirRTL) 981if (fsThis.DirPara != DirState.DirRTL) 1060if (fsThis.DirPara == DirState.DirRTL) 1117if (fsThis.DirPara != DirState.DirRTL) 1127if (fsThis.DirPara != DirState.DirRTL) 1429DirState dirHere = dnTable != null ? dnTable.XamlDir : DirState.DirLTR; 1430DirState dirPa = dnTable != null ? dnTable.ParentXamlDir : DirState.DirLTR; 1435long l = dirPa == DirState.DirLTR ? dnTable.FormatState.LI : dnTable.FormatState.RI; 1451if (dirHere == DirState.DirRTL) 2940DirState dirState = DirState.DirDefault; 2965if (formatState.DirPara == DirState.DirRTL) 3687internal static bool ConvertToDir(ConverterState converterState, string dirName, ref DirState dirState) 3694dirState = DirState.DirRTL; 3699dirState = DirState.DirLTR;