windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-widget-dot-widgetview-082b7bd6.md
Provides access to properties, common to all Documents within this WidgetView.
Namespace : DevExpress.XtraBars.Docking2010.Views.Widget
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public IDocumentProperties DocumentProperties { get; }
<XtraSerializableProperty(XtraSerializationVisibility.Content)>
Public ReadOnly Property DocumentProperties As IDocumentProperties
| Type | Description |
|---|---|
| IDocumentProperties |
An IDocumentProperties object that stores properties, common to all Documents within this WidgetView.
|
For each specific Document, you can override the global DocumentProperties settings. To do so use the Document.Properties property of the required Document.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DocumentProperties property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
public override BaseDocument CreateDocument(Control control) {
return new CustomDocument(View.DocumentProperties as IDocumentProperties);
}
Public Overrides Function CreateDocument(ByVal control As Control) As BaseDocument
Return New CustomDocument(TryCast(View.DocumentProperties, IDocumentProperties))
End Function
See Also