aspnet-devexpress-dot-web-dot-mvc-dot-settingsbase-837f4657.md
Gets or sets the width of the extension.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v20.1.dll
NuGet Package : DevExpress.Web.Mvc5
public virtual Unit Width { get; set; }
Public Overridable Property Width As Unit
| Type | Description |
|---|---|
| Unit |
The width of the extension.
|
You can access this nested property as listed below:
| Object Type | Path to Width |
|---|---|
| MVCxFormLayoutItem |
.NestedExtensionSettings .Width
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Width 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.
settings.Width = 300;
settings.Views.WeekView.Styles.DateCellBody.Height = 50;
asp-net-mvc-spreadsheet-work-with-database/CS/DXWebApplication23/Controllers/HomeController.cs#L28
settings.CallbackRouteValues = new { Controller = "Home", Action = "SpreadsheetPartial" };
settings.Width = System.Web.UI.WebControls.Unit.Percentage(100);
settings.Height = 500;
settings.Width = 300
settings.Views.WeekView.Styles.DateCellBody.Height = 50
asp-net-mvc-spreadsheet-work-with-database/VB/DXWebApplication23/Controllers/HomeController.vb#L30
settings.CallbackRouteValues = New With {Key .Controller = "Home", Key .Action = "SpreadsheetPartial"}
settings.Width = System.Web.UI.WebControls.Unit.Percentage(100)
settings.Height = 500
See Also