51 references to FigureHorizontalAnchor
PresentationFramework (51)
MS\Internal\PtsHost\FigureHelper.cs (13)
50
internal static bool IsHorizontalPageAnchor(
FigureHorizontalAnchor
horizontalAnchor)
52
return horizontalAnchor ==
FigureHorizontalAnchor
.PageLeft ||
53
horizontalAnchor ==
FigureHorizontalAnchor
.PageRight ||
54
horizontalAnchor ==
FigureHorizontalAnchor
.PageCenter;
60
internal static bool IsHorizontalContentAnchor(
FigureHorizontalAnchor
horizontalAnchor)
62
return horizontalAnchor ==
FigureHorizontalAnchor
.ContentLeft ||
63
horizontalAnchor ==
FigureHorizontalAnchor
.ContentRight ||
64
horizontalAnchor ==
FigureHorizontalAnchor
.ContentCenter;
70
internal static bool IsHorizontalColumnAnchor(
FigureHorizontalAnchor
horizontalAnchor)
72
return horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft ||
73
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight ||
74
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnCenter;
88
FigureHorizontalAnchor
horizontalAnchor = figure.HorizontalAnchor;
MS\Internal\PtsHost\FigureParagraph.cs (13)
261
FigureHorizontalAnchor
horzAnchor = element.HorizontalAnchor;
338
FigureHorizontalAnchor
horizAnchor = element.HorizontalAnchor;
376
horizAnchor !=
FigureHorizontalAnchor
.ColumnCenter &&
377
horizAnchor !=
FigureHorizontalAnchor
.ContentCenter)
392
if(horizAnchor ==
FigureHorizontalAnchor
.ContentRight ||
393
horizAnchor ==
FigureHorizontalAnchor
.ColumnRight)
528
private int CalculateParagraphToColumnOffset(
FigureHorizontalAnchor
horizontalAnchor, PTS.FSRECT fsrcInColumn)
536
if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
540
else if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
565
if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
569
else if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
586
FigureHorizontalAnchor
horizAnchor = element.HorizontalAnchor;
650
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)
796
FigureHorizontalAnchor
horizontalAnchor = figure.HorizontalAnchor;
798
if(horizontalAnchor ==
FigureHorizontalAnchor
.PageLeft ||
799
horizontalAnchor ==
FigureHorizontalAnchor
.ContentLeft ||
800
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
804
else if(horizontalAnchor ==
FigureHorizontalAnchor
.PageRight ||
805
horizontalAnchor ==
FigureHorizontalAnchor
.ContentRight ||
806
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
810
else if(horizontalAnchor ==
FigureHorizontalAnchor
.PageCenter ||
811
horizontalAnchor ==
FigureHorizontalAnchor
.ContentCenter ||
812
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnCenter)
System\Windows\Documents\Figure.cs (15)
75
typeof(
FigureHorizontalAnchor
),
78
FigureHorizontalAnchor
.ColumnRight,
85
public
FigureHorizontalAnchor
HorizontalAnchor
87
get { return (
FigureHorizontalAnchor
)GetValue(HorizontalAnchorProperty); }
256
FigureHorizontalAnchor
value = (
FigureHorizontalAnchor
)o;
257
return value ==
FigureHorizontalAnchor
.ContentCenter
258
|| value ==
FigureHorizontalAnchor
.ContentLeft
259
|| value ==
FigureHorizontalAnchor
.ContentRight
260
|| value ==
FigureHorizontalAnchor
.PageCenter
261
|| value ==
FigureHorizontalAnchor
.PageLeft
262
|| value ==
FigureHorizontalAnchor
.PageRight
263
|| value ==
FigureHorizontalAnchor
.ColumnCenter
264
|| value ==
FigureHorizontalAnchor
.ColumnLeft
265
|| value ==
FigureHorizontalAnchor
.ColumnRight;