Cannot open the secondary menu of ribbon:Menu

Ribbon for WPF Forum

Posted 3 years ago by Sunshine - Appeon
Version: 21.1.1
Avatar
<Window x:Class="WpfApp11.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
        xmlns:local="clr-namespace:WpfApp11"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <ribbon:Menu>
            <MenuItem Header="Test">
                <Label>123</Label>
            </MenuItem>
        </ribbon:Menu>
    </Grid>
</Window>

Click on the'MenuItem' in this code'Menu' cannot be expanded

Comments (1)

Answer - Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

You can't use a native MenuItem in a ribbon:Menu.  Please use a ribbon:PopupButton instead if you want a popup within a ribbon:Menu.


Actipro Software Support

The latest build of this product (v24.1.2) was released 5 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.