33 references to HAlign
PresentationFramework (33)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (16)
451
internal static string AlignmentToString(
HAlign
a, DirState ds)
455
case
HAlign
.AlignLeft:
457
case
HAlign
.AlignRight:
459
case
HAlign
.AlignCenter:
461
case
HAlign
.AlignJustify:
463
case
HAlign
.AlignDefault:
872
_align =
HAlign
.AlignDefault;
1357
internal
HAlign
HAlign
1836
private
HAlign
_align; // Paragraph alignment
5311
if (fsThis.HAlign !=
HAlign
.AlignDefault)
9323
formatState.HAlign =
HAlign
.AlignCenter;
9326
formatState.HAlign =
HAlign
.AlignJustify;
9329
formatState.HAlign =
HAlign
.AlignLeft;
9332
formatState.HAlign =
HAlign
.AlignRight;
9375
if (formatState.HAlign ==
HAlign
.AlignDefault)
9377
formatState.HAlign =
HAlign
.AlignLeft;
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (17)
970
case
HAlign
.AlignLeft:
981
case
HAlign
.AlignRight:
992
case
HAlign
.AlignCenter:
996
case
HAlign
.AlignJustify:
1117
case
HAlign
.AlignLeft:
1127
case
HAlign
.AlignRight:
1137
case
HAlign
.AlignCenter:
1140
case
HAlign
.AlignJustify:
3315
HAlign
halign =
HAlign
.AlignDefault;
3443
new LookupTableEntry("", (int)
HAlign
.AlignDefault),
3444
new LookupTableEntry("Left", (int)
HAlign
.AlignLeft),
3445
new LookupTableEntry("Right", (int)
HAlign
.AlignRight),
3446
new LookupTableEntry("Center", (int)
HAlign
.AlignCenter),
3447
new LookupTableEntry("Justify", (int)
HAlign
.AlignJustify),
3873
internal static bool ConvertToHAlign(ConverterState converterState, string alignName, ref
HAlign
align)
3880
align = (
HAlign
)BasicLookup(HAlignTable, alignName);