Appearance
Unconstrained
- This container takes no space.
- It removes any size constraints from its child.
- The rendered child appears floating below or above the other content.
csharp
.Width(400)
.Height(350)
.Padding(25)
.PaddingLeft(75)
.Column(column =>
{
column.Item().Width(300).Height(150).Background(Colors.Blue.Lighten3);
column
.Item()
.Unconstrained()
.TranslateX(-50)
.TranslateY(-50)
.Width(100)
.Height(100)
.Background(Colors.Blue.Darken2);
column.Item().Width(300).Height(150).Background(Colors.Blue.Lighten2);
});
.Width(400)
.Height(350)
.Padding(25)
.PaddingLeft(75)
.Column(column =>
{
column.Item().Width(300).Height(150).Background(Colors.Blue.Lighten3);
column
.Item()
.Unconstrained()
.TranslateX(-50)
.TranslateY(-50)
.Width(100)
.Height(100)
.Background(Colors.Blue.Darken2);
column.Item().Width(300).Height(150).Background(Colors.Blue.Lighten2);
});