A Pop-up Menu Display

You can also use a Menu content item in a popup menu.

memoGadget.AddContent(
   Scf.Menu(
      600,                               // menu id
      "Quick Menu",                      // title
      ScfSelectAction.Target,            // select action
      Scf.Item(
         100,                            // destination id
         "Active Locations"),            // item text
   Scf.Item(
         101,                            // destination id
         "Duty Roster")                  // item text
   )
);

The preceding code creates a Menu content item. This item is ID number 600. You can add it to another content item.

memoGadget.AddContent( Scf.Content( 101, // id "Main Entrance", // title 600, // menu content Scf.Img( 200, // image id ScfAlign.Center, // alignment ScfImageFit.Auto, // fit option "Front Entrance"), // alt text Scf.Txt( ScfAlign.Left, // text alignment true, // want word wrap Color.White, // text color "Check main ...

Get Embedded Programming with the Microsoft® .NET Micro Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.