15 references to Cookie
PresentationFramework (15)
System\Windows\Documents\FixedPageStructure.cs (3)
479fixedElement = fn.Cookie as FixedElement; 559ft = new FormattedText($"{fn}-{(int)(fn.Cookie)}-{somElements.Length}", 627fixedElement = fn.Cookie as FixedElement;
System\Windows\Documents\FixedTextBuilder.cs (4)
1545FixedElement fElement = (FixedElement)flowImageNode.Cookie; 1575FixedElement element = node.Cookie as FixedElement; 1586int nodeLength = (int) node.Cookie; 1621_currentFixedElement = (FixedElement)startNode.Cookie;
System\Windows\Documents\FixedTextContainer.cs (2)
367FixedElement fixedElement = flowNode.Cookie as FixedElement; 384pageNumber = (int)flowNode.Cookie;
System\Windows\Documents\FlowPosition.cs (6)
252Object obj = ((FixedElement)flow._flowNode.Cookie).GetObject(); 276return (FixedElement)flow._flowNode.Cookie; 296return (FixedElement)flowEnd._flowNode.Cookie; 668_FixedTextBuilder.EnsureTextOMForPage((int)flow.Cookie); 692_FixedTextBuilder.EnsureTextOMForPage((int)flow.Cookie); 801return (int)_flowNode.Cookie;