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