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