fix #5364 - add ability to specify preferred Container per Pane

This commit is contained in:
sbwalker
2025-07-30 10:43:36 -04:00
parent f53ed5b13b
commit 662a1817f2
2 changed files with 11 additions and 0 deletions

View File

@ -26,6 +26,9 @@ else
[Parameter]
public string Name { get; set; }
[Parameter]
public string ContainerType { get; set; }
RenderFragment DynamicComponent { get; set; }
protected override void OnParametersSet()
@ -119,6 +122,7 @@ else
{
builder.OpenComponent(0, typeof(ContainerBuilder));
builder.AddAttribute(1, "ModuleState", module);
builder.AddAttribute(2, "ContainerType", ContainerType);
builder.SetKey(module.PageModuleId);
builder.CloseComponent();
}