Posted 5 years ago
by rex hui
Version: 19.1.0681
Platform: .NET 4.8
Environment: Windows 10 (64-bit)
<ribbon:StackPanel ItemVariantBehavior="MediumThenSmallWhenSmall" RowAlignment="Center">
<ribbon:Button Id="EditCut" Visibility="Collapsed" />
<ribbon:Button Id="EditCopy"/>
<ribbon:Button Id="EditSelectAll"/>
</ribbon:StackPanel>
RowAlignment "center" should handle collapsed child as nonexisting when calculating the layout.