A newer version of this page is available.
Switch to the current version.
MVCxFormLayoutItem.NestedExtensionSettings Property
Gets the nested extension settings.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v18.2.dll
Declaration
public SettingsBase NestedExtensionSettings { get; }
Public ReadOnly Property NestedExtensionSettings As SettingsBase
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()
See Also
Feedback