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
+8
View File
@@ -120,5 +120,13 @@ namespace Microsoft.Iris.Layouts
dockLayoutInput = _defaultLayoutInput ?? s_defaultLayoutInput;
return dockLayoutInput;
}
public bool Equals(ILayout other)
{
if (other is not DockLayout o) return false;
return DefaultChildAlignment == o.DefaultChildAlignment
&& DefaultLayoutInput.ToString() == other.DefaultChildAlignment.ToString();
}
}
}