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;
5117
if (FormatState.RowFormat.Dir ==
DirState
.DirRTL)
5185
if (XamlDir ==
DirState
.DirLTR)
6026
internal
DirState
XamlDir
6062
return
DirState
.DirLTR;
6067
internal
DirState
ParentXamlDir
6071
return (Parent == null) ?
DirState
.DirLTR : Parent.XamlDir;
6087
return ParentXamlDir ==
DirState
.DirLTR ? FormatState.LI : FormatState.RI;
6091
if (ParentXamlDir ==
DirState
.DirLTR)
6106
return ParentXamlDir ==
DirState
.DirLTR ? FormatState.RI : FormatState.LI;
7235
DirState
ds =
DirState
.DirDefault;
7243
if (ds ==
DirState
.DirDefault)
7255
if (!bConflict && ds !=
DirState
.DirDefault)
9267
formatState.DirChar =
DirState
.DirLTR;
9272
formatState.DirPara =
DirState
.DirLTR;
9275
formatState.DirChar =
DirState
.DirRTL;
9280
formatState.DirPara =
DirState
.DirRTL;
10662
formatState.RowFormat.Dir =
DirState
.DirRTL;
10665
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;