1 write to UserState
System.ComponentModel.EventBasedAsync (1)
System\ComponentModel\AsyncCompletedEvent.cs (1)
16UserState = userState;
15 references to UserState
PresentationFramework (12)
MS\Internal\Documents\DocumentGrid.cs (2)
1710if (e.UserState is MakeVisibleData) 1712MakeVisibleData data = (MakeVisibleData)e.UserState;
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
252e = new GetPageCompletedEventArgs(documentPage, e.PageNumber, e.Error, e.Cancelled, e.UserState);
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
720if (e.PageNumber == this.PageNumber && e.UserState == this)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1107bringIntoViewState = e.UserState as BringIntoViewState;
System\Windows\Controls\SinglePageViewer.cs (1)
994if (!e.Cancelled && e.Error == null && e.UserState == _bringContentPositionIntoViewToken)
System\Windows\Documents\DocumentSequence.cs (1)
887GetPageAsyncRequest completedRequest = (GetPageAsyncRequest)args.UserState;
System\windows\Documents\TextEditor.cs (1)
1502Invariant.Assert(e.UserState == this && this.TextView == sender);
System\windows\Documents\TextEditorSelection.cs (4)
1770TextEditor This = e.UserState as TextEditor; 1800TextEditor This = e.UserState as TextEditor; 1832This = e.UserState as TextEditor; 1895This = e.UserState as TextEditor;
System.ComponentModel.EventBasedAsync (1)
System\ComponentModel\RunWorkerCompletedEvent.cs (1)
35return base.UserState;
System.Net.Mail (1)
System\Net\Mail\SmtpClient.cs (1)
748if (e.UserState == tcs)
System.Net.WebClient (1)
System\Net\WebClient.cs (1)
1793if (e.UserState == tcs)