A Swiss Army knife for developers.
C# blazorcross-platformcsharpdesktopdesktop-appdesktop-applicationdeveloper-toolsextensiblefluentfluent-designlinuxmacosmicasyntax-highlightingtypescriptwindowswindows-10windows-11winui
@namespace DevToys.Blazor.Components.UIElements
@using DevToys.Api;
@inherits ComponentBase
<StackPanel id="@UIStack.Id"
UseMaxHeight="@UIStack.UseMaxHeight"
IsVisible="@UIStack.IsVisible"
IsEnabled="@UIStack.IsEnabled"
HorizontalAlignment="@UIStack.HorizontalAlignment"
VerticalAlignment="@UIStack.VerticalAlignment"
Orientation="@UIStack.Orientation"
Spacing="@(UIStack.Spacing.ToPxInteger())">
@if (UIStack.Children is not null)
{
for (int i = 0; i < UIStack.Children.Length; i++)
{
if (UIStack.Children[i] is not null)
{
<UIElementPresenter UIElement="@UIStack.Children[i]" />
}
}
}
</StackPanel>