51 references to FigureHorizontalAnchor
PresentationFramework (51)
MS\Internal\PtsHost\FigureHelper.cs (13)
51
internal static bool IsHorizontalPageAnchor(
FigureHorizontalAnchor
horizontalAnchor)
53
return horizontalAnchor ==
FigureHorizontalAnchor
.PageLeft ||
54
horizontalAnchor ==
FigureHorizontalAnchor
.PageRight ||
55
horizontalAnchor ==
FigureHorizontalAnchor
.PageCenter;
61
internal static bool IsHorizontalContentAnchor(
FigureHorizontalAnchor
horizontalAnchor)
63
return horizontalAnchor ==
FigureHorizontalAnchor
.ContentLeft ||
64
horizontalAnchor ==
FigureHorizontalAnchor
.ContentRight ||
65
horizontalAnchor ==
FigureHorizontalAnchor
.ContentCenter;
71
internal static bool IsHorizontalColumnAnchor(
FigureHorizontalAnchor
horizontalAnchor)
73
return horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft ||
74
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight ||
75
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnCenter;
89
FigureHorizontalAnchor
horizontalAnchor = figure.HorizontalAnchor;
MS\Internal\PtsHost\FigureParagraph.cs (13)
267
FigureHorizontalAnchor
horzAnchor = element.HorizontalAnchor;
344
FigureHorizontalAnchor
horizAnchor = element.HorizontalAnchor;
382
horizAnchor !=
FigureHorizontalAnchor
.ColumnCenter &&
383
horizAnchor !=
FigureHorizontalAnchor
.ContentCenter)
398
if(horizAnchor ==
FigureHorizontalAnchor
.ContentRight ||
399
horizAnchor ==
FigureHorizontalAnchor
.ColumnRight)
534
private int CalculateParagraphToColumnOffset(
FigureHorizontalAnchor
horizontalAnchor, PTS.FSRECT fsrcInColumn)
542
if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
546
else if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
571
if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
575
else if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
592
FigureHorizontalAnchor
horizAnchor = element.HorizontalAnchor;
656
private PTS.FSRECT CalculateSearchArea(
FigureHorizontalAnchor
horizAnchor, FigureVerticalAnchor vertAnchor, ref PTS.FSRECT fsrcPage, ref PTS.FSRECT fsrcMargin, ref PTS.FSRECT fsrcTrack, ref PTS.FSRECT fsrcFigurePreliminary)
MS\Internal\PtsHost\FloaterParagraph.cs (10)
800
FigureHorizontalAnchor
horizontalAnchor = figure.HorizontalAnchor;
802
if(horizontalAnchor ==
FigureHorizontalAnchor
.PageLeft ||
803
horizontalAnchor ==
FigureHorizontalAnchor
.ContentLeft ||
804
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
808
else if(horizontalAnchor ==
FigureHorizontalAnchor
.PageRight ||
809
horizontalAnchor ==
FigureHorizontalAnchor
.ContentRight ||
810
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
814
else if(horizontalAnchor ==
FigureHorizontalAnchor
.PageCenter ||
815
horizontalAnchor ==
FigureHorizontalAnchor
.ContentCenter ||
816
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnCenter)
System\Windows\Documents\Figure.cs (15)
77
typeof(
FigureHorizontalAnchor
),
80
FigureHorizontalAnchor
.ColumnRight,
87
public
FigureHorizontalAnchor
HorizontalAnchor
89
get { return (
FigureHorizontalAnchor
)GetValue(HorizontalAnchorProperty); }
258
FigureHorizontalAnchor
value = (
FigureHorizontalAnchor
)o;
259
return value ==
FigureHorizontalAnchor
.ContentCenter
260
|| value ==
FigureHorizontalAnchor
.ContentLeft
261
|| value ==
FigureHorizontalAnchor
.ContentRight
262
|| value ==
FigureHorizontalAnchor
.PageCenter
263
|| value ==
FigureHorizontalAnchor
.PageLeft
264
|| value ==
FigureHorizontalAnchor
.PageRight
265
|| value ==
FigureHorizontalAnchor
.ColumnCenter
266
|| value ==
FigureHorizontalAnchor
.ColumnLeft
267
|| value ==
FigureHorizontalAnchor
.ColumnRight;