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