Add public PredefinedLayouts

This commit is contained in:
Yoshi Askharoun
2024-02-18 22:23:59 -06:00
parent 3bd3531f44
commit 2e5eaedcdc
16 changed files with 191 additions and 32 deletions
@@ -350,6 +350,15 @@ namespace Microsoft.Iris.Layouts
return null;
}
public bool Equals(ILayout other)
{
if (other is not AnchorLayout o) return false;
return DefaultChildAlignment == o.DefaultChildAlignment
&& SizeToHorizontalChildren == o.SizeToHorizontalChildren
&& SizeToVerticalChildren == o.SizeToVerticalChildren;
}
internal static DataCookie InputData => s_dataProperty;
internal enum LayoutPhase