XML Settings - global SharpMenu settings


There are certain global settings for SharpMenu? available which will apply to all menus.
The setting for SharpMenu? are stored in

\Settings\User\{Username}\SharpMenu\Settings\SharpMenu.xml

In the xml file there is a Settings tag which holds all settings.


Available Settings

  • WrapMode
    Defines how larges menus are handled.
    If enabled menus which are too large will split into multiple columns. When disabled the menu will become scrollable.
      <WrapMode>1</WrapMode>
    
  • WrapCount
    Amount of items after a menu is beeing wrapped.
    The wrapmode setting must be enabled for this to have any effect.
      <WrapCount>1</WrapCount>
    
  • WrapPos
    Defines the position of the menu item displaying the wrapped sub menu. Possible values are 0 = top and 1 = bottom.
    The wrapmode setting must be enabled for this to have any effect.
      <WrapPos>0</WrapPos>
    
  • CacheIcons
    Enables icon caching.
    Disabling this option might cause a huge SharpMenu? slowdown if you are using large dynamic menus!
      <CacheIcons>1</CacheIcons>
    


Example of a complete SharpMenu.xml file

<SharpEMenuSettings>
  <Settings>
    <WrapMenu>1</WrapMenu>
    <WrapPos>1</WrapPos>
    <WrapCount>20</WrapCount>
    <CacheIcons>1</CacheIcons>
  </Settings>
</SharpEMenuSettings>