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