Back to Devexpress

XtraTabbedMdiManager.UseFormIconAsPageImage Property

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtratabbedmdimanager-020476cd.md

latest2.2 KB
Original Source

XtraTabbedMdiManager.UseFormIconAsPageImage Property

Gets or sets whether to display a child form’s icon (Form.Icon) in the corresponding page header.

Namespace : DevExpress.XtraTabbedMdi

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public DefaultBoolean UseFormIconAsPageImage { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Property UseFormIconAsPageImage As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

true to display a child form’s icon (Form.Icon) in the corresponding page header; otherwise, false.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

In the tabbed UI, each page (XtraMdiTabPage) represents a child form.

You can specify icons for tab pages directly via the XtraMdiTabPage.ImageOptions property. If you want to use a form’s icon (Form.Icon) as a page’s image, set the UseFormIconAsPageImage property to true.

See Also

ImageOptions

XtraTabbedMdiManager Class

XtraTabbedMdiManager Members

DevExpress.XtraTabbedMdi Namespace