aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxformlayoutitem.md
Gets the nested extension settings.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v25.2.dll
NuGet Package : DevExpress.Web.Mvc5
public SettingsBase NestedExtensionSettings { get; }
Public ReadOnly Property NestedExtensionSettings As SettingsBase
| Type | Description |
|---|---|
| SettingsBase |
A SettingsBase object that is the nested extension settings.
|
The NestedExtensionSettings property provides access to the settings of the nested extension.
The code sample below demonstrates how to use the NestedExtensionSettings property for changing the nested extension settings.
@Html.DevExpress().FormLayout(settings =>
{
settings.Name = "FormLayout1";
settings.Items.Add(itemSettings =>
{
itemSettigns.Caption = "";
// Nesting a Button
itemSettigns.NestedExtensionType = FormLayoutNestedExtensionItemType.Button;
// Changing the Button settings
var btnSettigns = (ButtonSettings)itemSettigns.NestedExtensionSettings;
btnSettigns.Name = "apply";
btnSettigns.Text = "Apply";
btnSettigns.UseSubmitBehavior = true;
});
...
}).GetHtml()
See Also