15 references to Cookie
PresentationFramework (15)
System\Windows\Documents\FixedPageStructure.cs (3)
472fixedElement = fn.Cookie as FixedElement; 552ft = new FormattedText($"{fn}-{(int)(fn.Cookie)}-{somElements.Length}", 620fixedElement = fn.Cookie as FixedElement;
System\Windows\Documents\FixedTextBuilder.cs (4)
1534FixedElement fElement = (FixedElement)flowImageNode.Cookie; 1564FixedElement element = node.Cookie as FixedElement; 1575int nodeLength = (int) node.Cookie; 1610_currentFixedElement = (FixedElement)startNode.Cookie;
System\Windows\Documents\FixedTextContainer.cs (2)
349FixedElement fixedElement = flowNode.Cookie as FixedElement; 366pageNumber = (int)flowNode.Cookie;
System\Windows\Documents\FlowPosition.cs (6)
247Object obj = ((FixedElement)flow._flowNode.Cookie).GetObject(); 271return (FixedElement)flow._flowNode.Cookie; 291return (FixedElement)flowEnd._flowNode.Cookie; 663_FixedTextBuilder.EnsureTextOMForPage((int)flow.Cookie); 687_FixedTextBuilder.EnsureTextOMForPage((int)flow.Cookie); 796return (int)_flowNode.Cookie;