mirror of
https://gitee.com/chinware/atomui.git
synced 2024-11-29 18:38:16 +08:00
fixed When the collapse index changes, the style update will not be triggered
https://gitee.com/chinware/atomui/issues/IAUM0S?from=project-issue
This commit is contained in:
parent
0dc2b9b5ef
commit
92daa08919
@ -178,6 +178,14 @@ public class Collapse : SelectingItemsControl
|
||||
SetupCollapseBorderThickness(collapseItem, index);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ContainerIndexChangedOverride(Control container, int oldIndex, int newIndex)
|
||||
{
|
||||
if (container is CollapseItem collapseItem)
|
||||
{
|
||||
SetupCollapseBorderThickness(collapseItem, newIndex);
|
||||
}
|
||||
}
|
||||
|
||||
private void SetupCollapseBorderThickness(CollapseItem collapseItem, int index)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user