51 references to DirState
PresentationFramework (51)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (31)
451
internal static string AlignmentToString(HAlign a,
DirState
ds)
456
return (ds !=
DirState
.DirRTL) ? "Left" : "Right";
458
return (ds !=
DirState
.DirRTL) ? "Right" : "Left";
854
_dirChar =
DirState
.DirLTR;
877
_dirPara =
DirState
.DirLTR;
1200
internal
DirState
DirChar
1423
internal
DirState
DirPara
1821
private
DirState
_dirChar; // Character level direction
1841
private
DirState
_dirPara; // Paragraph level direction
2848
_dir =
DirState
.DirLTR;
2950
internal
DirState
Dir
3114
private
DirState
_dir;
5178
if (FormatState.RowFormat.Dir ==
DirState
.DirRTL)
5246
if (XamlDir ==
DirState
.DirLTR)
6106
internal
DirState
XamlDir
6142
return
DirState
.DirLTR;
6147
internal
DirState
ParentXamlDir
6151
return (Parent == null) ?
DirState
.DirLTR : Parent.XamlDir;
6167
return ParentXamlDir ==
DirState
.DirLTR ? FormatState.LI : FormatState.RI;
6171
if (ParentXamlDir ==
DirState
.DirLTR)
6186
return ParentXamlDir ==
DirState
.DirLTR ? FormatState.RI : FormatState.LI;
7316
DirState
ds =
DirState
.DirDefault;
7324
if (ds ==
DirState
.DirDefault)
7336
if (!bConflict && ds !=
DirState
.DirDefault)
9358
formatState.DirChar =
DirState
.DirLTR;
9363
formatState.DirPara =
DirState
.DirLTR;
9366
formatState.DirChar =
DirState
.DirRTL;
9371
formatState.DirPara =
DirState
.DirRTL;
10754
formatState.RowFormat.Dir =
DirState
.DirRTL;
10757
formatState.RowFormat.Dir =
DirState
.DirLTR;
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (20)
711
bool outDir = fsThis.DirChar !=
DirState
.DirDefault
819
if (fsThis.DirChar ==
DirState
.DirLTR)
949
if (fsThis.DirPara ==
DirState
.DirRTL)
971
if (fsThis.DirPara !=
DirState
.DirRTL)
982
if (fsThis.DirPara !=
DirState
.DirRTL)
1061
if (fsThis.DirPara ==
DirState
.DirRTL)
1118
if (fsThis.DirPara !=
DirState
.DirRTL)
1128
if (fsThis.DirPara !=
DirState
.DirRTL)
1431
DirState
dirHere = dnTable != null ? dnTable.XamlDir :
DirState
.DirLTR;
1432
DirState
dirPa = dnTable != null ? dnTable.ParentXamlDir :
DirState
.DirLTR;
1437
long l = dirPa ==
DirState
.DirLTR ? dnTable.FormatState.LI : dnTable.FormatState.RI;
1453
if (dirHere ==
DirState
.DirRTL)
2946
DirState
dirState =
DirState
.DirDefault;
2971
if (formatState.DirPara ==
DirState
.DirRTL)
3694
internal static bool ConvertToDir(ConverterState converterState, string dirName, ref
DirState
dirState)
3701
dirState =
DirState
.DirRTL;
3706
dirState =
DirState
.DirLTR;