51 references to FigureHorizontalAnchor
PresentationFramework (51)
src\Framework\MS\Internal\PtsHost\FigureHelper.cs (13)
55
internal static bool IsHorizontalPageAnchor(
FigureHorizontalAnchor
horizontalAnchor)
57
return horizontalAnchor ==
FigureHorizontalAnchor
.PageLeft ||
58
horizontalAnchor ==
FigureHorizontalAnchor
.PageRight ||
59
horizontalAnchor ==
FigureHorizontalAnchor
.PageCenter;
65
internal static bool IsHorizontalContentAnchor(
FigureHorizontalAnchor
horizontalAnchor)
67
return horizontalAnchor ==
FigureHorizontalAnchor
.ContentLeft ||
68
horizontalAnchor ==
FigureHorizontalAnchor
.ContentRight ||
69
horizontalAnchor ==
FigureHorizontalAnchor
.ContentCenter;
75
internal static bool IsHorizontalColumnAnchor(
FigureHorizontalAnchor
horizontalAnchor)
77
return horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft ||
78
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight ||
79
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnCenter;
93
FigureHorizontalAnchor
horizontalAnchor = figure.HorizontalAnchor;
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (13)
277
FigureHorizontalAnchor
horzAnchor = element.HorizontalAnchor;
358
FigureHorizontalAnchor
horizAnchor = element.HorizontalAnchor;
396
horizAnchor !=
FigureHorizontalAnchor
.ColumnCenter &&
397
horizAnchor !=
FigureHorizontalAnchor
.ContentCenter)
412
if(horizAnchor ==
FigureHorizontalAnchor
.ContentRight ||
413
horizAnchor ==
FigureHorizontalAnchor
.ColumnRight)
556
private int CalculateParagraphToColumnOffset(
FigureHorizontalAnchor
horizontalAnchor, PTS.FSRECT fsrcInColumn)
564
if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
568
else if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
593
if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
597
else if(horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
614
FigureHorizontalAnchor
horizAnchor = element.HorizontalAnchor;
678
private PTS.FSRECT CalculateSearchArea(
FigureHorizontalAnchor
horizAnchor, FigureVerticalAnchor vertAnchor, ref PTS.FSRECT fsrcPage, ref PTS.FSRECT fsrcMargin, ref PTS.FSRECT fsrcTrack, ref PTS.FSRECT fsrcFigurePreliminary)
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (10)
830
FigureHorizontalAnchor
horizontalAnchor = figure.HorizontalAnchor;
832
if(horizontalAnchor ==
FigureHorizontalAnchor
.PageLeft ||
833
horizontalAnchor ==
FigureHorizontalAnchor
.ContentLeft ||
834
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnLeft)
838
else if(horizontalAnchor ==
FigureHorizontalAnchor
.PageRight ||
839
horizontalAnchor ==
FigureHorizontalAnchor
.ContentRight ||
840
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnRight)
844
else if(horizontalAnchor ==
FigureHorizontalAnchor
.PageCenter ||
845
horizontalAnchor ==
FigureHorizontalAnchor
.ContentCenter ||
846
horizontalAnchor ==
FigureHorizontalAnchor
.ColumnCenter)
src\Framework\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;