문제

What I want to do is simply have a menu bar at the top of my game. The ones that have File, Edit, Help, Etc. If anyone knows how to do that, that would be great!

도움이 되었습니까?

해결책

There is no built in control.

You can make one like this:

<DockPanel>
    <Menu DockPanel.Dock="Top">
        <MenuItem Header="_File">
            <MenuItem Header="_Open"/>
            <MenuItem Header="_Close"/>
            <MenuItem Header="_Save"/>
        </MenuItem>
        <MenuItem Header="_Edit">
        <MenuItem Header="_Help">
    </Menu>
</DockPanel>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top