A newer version of this page is available. Switch to the current version.

SchedulerResourceHeaderOptionsBase.ImageSizeMode Property

Gets or sets the size mode of an image which is displayed within a resource header.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

[DefaultValue(HeaderImageSizeMode.CenterImage)]
[XtraSerializableProperty]
public virtual HeaderImageSizeMode ImageSizeMode { get; set; }
<DefaultValue(HeaderImageSizeMode.CenterImage)>
<XtraSerializableProperty>
Public Overridable Property ImageSizeMode As HeaderImageSizeMode

Property Value

Type Default Description
HeaderImageSizeMode

CenterImage

A HeaderImageSizeMode enumeration value which specifies how the image is displayed, resized or clipped.

Property Paths

You can access this nested property as listed below:

Show 11 property paths
Library Object Type Path to ImageSizeMode
WinForms Controls HorizontalResourceHeaders
.Options.ImageSizeMode
VerticalResourceHeaders
.Options.ImageSizeMode
SchedulerControl
.OptionsView.ResourceHeaders.ImageSizeMode
SchedulerOptionsView
.ResourceHeaders.ImageSizeMode
ASP.NET Controls and MVC Extensions ASPxScheduler
.OptionsView.ResourceHeaders.ImageSizeMode
ASPxSchedulerOptionsView
.ResourceHeaders.ImageSizeMode
MVCxScheduler
.OptionsView.ResourceHeaders.ImageSizeMode
SchedulerSettings
.OptionsView.ResourceHeaders.ImageSizeMode
ASP.NET Bootstrap Controls BootstrapScheduler
.OptionsView.ResourceHeaders.ImageSizeMode
BootstrapScheduler
.OptionsView.ResourceHeaders.ImageSizeMode
BootstrapSchedulerOptionsView
.ResourceHeaders.ImageSizeMode

Remarks

When the image size is calculated, the space required to place a header caption is neglected. Therefore, a header caption is visible only if the image leaves room for it after being displayed.

See Also