Back to Devexpress

IBaseDocumentProperties.UseFormIconAsDocumentImage Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-ibasedocumentproperties-170fddd5.md

latest3.2 KB
Original Source

IBaseDocumentProperties.UseFormIconAsDocumentImage Property

Gets or sets whether underlying forms’ icons are applied to the current View’s documents.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
bool UseFormIconAsDocumentImage { get; set; }
vb
Property UseFormIconAsDocumentImage As Boolean

Property Value

TypeDescription
Boolean

true if underlying forms’ icons are applied to the current View’s documents; otherwise, false.

|

Remarks

See IBaseDocumentDefaultProperties.UseFormIconAsDocumentImage to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UseFormIconAsDocumentImage 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.

winforms-tabbed-ui-control-based-document/CS/DcoumentManagerContentGenerator/Form1.cs#L20

csharp
InitializeComponent();
documentManager2.View.DocumentProperties.UseFormIconAsDocumentImage = false;
documentManager2.View.UseDocumentSelector = DevExpress.Utils.DefaultBoolean.True;

winforms-tabbed-ui-control-based-document/VB/DcoumentManagerContentGenerator/Form1.vb#L22

vb
InitializeComponent()
documentManager2.View.DocumentProperties.UseFormIconAsDocumentImage = False
documentManager2.View.UseDocumentSelector = DevExpress.Utils.DefaultBoolean.True

See Also

UseFormIconAsDocumentImage

IBaseDocumentProperties Interface

IBaseDocumentProperties Members

DevExpress.XtraBars.Docking2010.Views Namespace