51 references to DirState
PresentationFramework (51)
System\Windows\Documents\RtfToXamlReader.cs (31)
434
internal static string AlignmentToString(HAlign a,
DirState
ds)
439
return (ds !=
DirState
.DirRTL) ? "Left" : "Right";
441
return (ds !=
DirState
.DirRTL) ? "Right" : "Left";
831
_dirChar =
DirState
.DirLTR;
854
_dirPara =
DirState
.DirLTR;
1179
internal
DirState
DirChar
1402
internal
DirState
DirPara
1800
private
DirState
_dirChar; // Character level direction
1820
private
DirState
_dirPara; // Paragraph level direction
2789
_dir =
DirState
.DirLTR;
2891
internal
DirState
Dir
3055
private
DirState
_dir;
5123
if (FormatState.RowFormat.Dir ==
DirState
.DirRTL)
5191
if (XamlDir ==
DirState
.DirLTR)
6036
internal
DirState
XamlDir
6072
return
DirState
.DirLTR;
6077
internal
DirState
ParentXamlDir
6081
return (Parent == null) ?
DirState
.DirLTR : Parent.XamlDir;
6097
return ParentXamlDir ==
DirState
.DirLTR ? FormatState.LI : FormatState.RI;
6101
if (ParentXamlDir ==
DirState
.DirLTR)
6116
return ParentXamlDir ==
DirState
.DirLTR ? FormatState.RI : FormatState.LI;
7248
DirState
ds =
DirState
.DirDefault;
7256
if (ds ==
DirState
.DirDefault)
7268
if (!bConflict && ds !=
DirState
.DirDefault)
9291
formatState.DirChar =
DirState
.DirLTR;
9296
formatState.DirPara =
DirState
.DirLTR;
9299
formatState.DirChar =
DirState
.DirRTL;
9304
formatState.DirPara =
DirState
.DirRTL;
10692
formatState.RowFormat.Dir =
DirState
.DirRTL;
10695
formatState.RowFormat.Dir =
DirState
.DirLTR;
System\Windows\Documents\XamlToRtfWriter.cs (20)
708
bool outDir = fsThis.DirChar !=
DirState
.DirDefault
816
if (fsThis.DirChar ==
DirState
.DirLTR)
946
if (fsThis.DirPara ==
DirState
.DirRTL)
968
if (fsThis.DirPara !=
DirState
.DirRTL)
979
if (fsThis.DirPara !=
DirState
.DirRTL)
1058
if (fsThis.DirPara ==
DirState
.DirRTL)
1115
if (fsThis.DirPara !=
DirState
.DirRTL)
1125
if (fsThis.DirPara !=
DirState
.DirRTL)
1427
DirState
dirHere = dnTable != null ? dnTable.XamlDir :
DirState
.DirLTR;
1428
DirState
dirPa = dnTable != null ? dnTable.ParentXamlDir :
DirState
.DirLTR;
1433
long l = dirPa ==
DirState
.DirLTR ? dnTable.FormatState.LI : dnTable.FormatState.RI;
1449
if (dirHere ==
DirState
.DirRTL)
2938
DirState
dirState =
DirState
.DirDefault;
2963
if (formatState.DirPara ==
DirState
.DirRTL)
3685
internal static bool ConvertToDir(ConverterState converterState, string dirName, ref
DirState
dirState)
3692
dirState =
DirState
.DirRTL;
3697
dirState =
DirState
.DirLTR;