MVCxFormLayoutItem.NestedExtensionSettings Property
Gets the nested extension settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v20.2.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Property Value
Type | Description |
---|---|
SettingsBase | A SettingsBase object that is the nested extension settings. |
Remarks
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()
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the NestedExtensionSettings 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.