C#C
C#3y ago
Sir Ruggie

❔ WinUI 3 Pivot Header Size

I've been trying to add an image and text in a Pivot Header and seems like no matter what I do, the Pivot Header cuts off part of the object

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Pivot Height="Auto">
            <PivotItem>
                <PivotItem.Header>
                    <StackPanel Height="Auto" VerticalAlignment="Top">
                        <TextBlock Text="Address" FontSize="15"/>
                        <Image Width="100" Height="100" Source="ms-appx:///Assets/Check_Main.png"/>
                    </StackPanel>
                </PivotItem.Header>
image.png
Was this page helpful?