سؤال

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