DocumentManager.Images Property
Provides access to the collection of images that can be associated with documents.
Namespace: DevExpress.XtraBars.Docking2010
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual object Images { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Object | null | An object that specifies an image collection. |
Remarks
An image assigned to a document is displayed in these cases:
- in a tab (when documents are displayed as tabs);
- in a form’s title bar (when a document is displayed as a floating form)
- in a menu used to switch between documents.
You can provide images for documents using one of two methods:
- Add images to an image collection and assign the image collection to the Images property. Then, assign images by their image indexes to documents via the BaseDocument.ImageIndex property.
- Assign images to a document directly via the BaseDocument.Image property. The BaseDocument.Image property has a higher priority than BaseDocument.ImageIndex.
The Images property accepts the following image collections:
- ImageCollection - Supports image transparency.
- SharedImageCollection - Supports image transparency. Allows you to share images between controls within multiple forms.
- SvgImageCollection - Stores vector icons that can scale without losing their quality on high resolution devices.
- ImageList.
See Also