feat(ui): persist retained window layouts
This commit is contained in:
parent
a8e9503d2e
commit
921c388e2c
22 changed files with 705 additions and 141 deletions
|
|
@ -66,6 +66,7 @@ public static class RetailWindowFrame
|
|||
AnchorEdges.Left | AnchorEdges.Top | AnchorEdges.Right | AnchorEdges.Bottom;
|
||||
public bool? ContentClickThrough { get; init; }
|
||||
public IRetainedPanelController? Controller { get; init; }
|
||||
public IRetainedWindowStateController? StateController { get; init; }
|
||||
}
|
||||
|
||||
public static RetailWindowHandle Mount(
|
||||
|
|
@ -159,7 +160,8 @@ public static class RetailWindowFrame
|
|||
options.WindowName,
|
||||
outerFrame,
|
||||
content,
|
||||
options.Controller);
|
||||
options.Controller,
|
||||
options.StateController);
|
||||
}
|
||||
|
||||
private static float ResolveConstraint(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue