35 references to Current
PresentationUI (35)
MS\Internal\Documents\Application\DocumentProperties.cs (2)
226Current == null, 229if (Current == null)
MS\Internal\Documents\Application\DocumentPropertiesDialog.cs (27)
37if (DocumentProperties.Current == null) 102SetTextProperty(_author, DocumentProperties.Current.CoreProperties.Creator); 103SetTextProperty(_category, DocumentProperties.Current.CoreProperties.Category); 104SetTextProperty(_content, DocumentProperties.Current.CoreProperties.ContentType); 105SetTextProperty(_description, DocumentProperties.Current.CoreProperties.Description); 106SetTextProperty(_documentCreatedDate, DocumentProperties.Current.CoreProperties.Created); 107SetTextProperty(_documentModifiedDate, DocumentProperties.Current.CoreProperties.Modified); 108SetTextProperty(_documentPrintedDate, DocumentProperties.Current.CoreProperties.LastPrinted); 109SetTextProperty(_documentType, DocumentProperties.Current.CoreProperties.ContentType); 110SetTextProperty(_identifier, DocumentProperties.Current.CoreProperties.Identifier); 111SetTextProperty(_keywords, DocumentProperties.Current.CoreProperties.Keywords); 112SetTextProperty(_lastSaved, DocumentProperties.Current.CoreProperties.LastModifiedBy); 113SetTextProperty(_revision, DocumentProperties.Current.CoreProperties.Revision); 114SetTextProperty(_status, DocumentProperties.Current.CoreProperties.ContentStatus); 115SetTextProperty(_subject, DocumentProperties.Current.CoreProperties.Subject); 116SetTextProperty(_title, DocumentProperties.Current.CoreProperties.Title); 117SetTextProperty(_version, DocumentProperties.Current.CoreProperties.Version); 118SetTextProperty(_language, DocumentProperties.Current.CoreProperties.Language); 121SetTextProperty(_fileAccessedDate, DocumentProperties.Current.FileAccessed); //SecurityCritical 122SetTextProperty(_fileCreatedDate, DocumentProperties.Current.FileCreated); //SecurityCritical 123SetTextProperty(_fileModifiedDate, DocumentProperties.Current.FileModified); //SecurityCritical 124SetTextProperty(_size, FormatFileSize(DocumentProperties.Current.FileSize)); //SecurityCritical 126SetTextProperty(_filename, DocumentProperties.Current.Filename); 129if (DocumentProperties.Current.Image == null) 131DocumentProperties.Current.Image = this.Icon.ToBitmap(); 135if (DocumentProperties.Current.Image != null) 137_iconPictureBox.Image = DocumentProperties.Current.Image;
MS\Internal\Documents\Application\PackageController.cs (1)
56DocumentProperties.Current.SetXpsProperties(package.PackageProperties);
MS\Internal\Documents\Application\RightsController.cs (2)
123DocumentProperties.Current.SetRightsManagedProperties(properties); 222DocumentProperties.Current.SetRightsManagedProperties(properties);
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (2)
380Path.GetFileNameWithoutExtension(DocumentProperties.Current.Filename), 1331DocumentProperties.Current.ShowDialog();
MS\Internal\Documents\DocumentSignatureManager.cs (1)
162!DocumentProperties.Current.VerifyPropertiesUnchanged())