Intersoft WebDesktop Documentation
WebMenuStyles Class
Members  See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace : WebMenuStyles Class


Glossary Item Box

Styles and behaviors that can be applied to WebMenu.

Object Model

WebMenuStyles Class

Syntax

Visual Basic (Declaration) 
Public Class WebMenuStyles 
   Inherits ISNet.WebUI.WebUIBaseClass
   Implements ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.ICustomXmlSerializer 
Visual Basic (Usage)Copy Code
Dim instance As WebMenuStyles
C# 
public class WebMenuStyles : ISNet.WebUI.WebUIBaseClass, ISNet.ICopyable, ISNet.IResetable, ISNet.Serialization.BinarySerialization.IBinarySerialize, ISNet.Serialization.XmlSerialization.ICustomXmlSerializer  

Remarks

WebMenu is designed with rich and highly customizable styles in mind. It can simulate almost any kind of menu appearances, from Windows system menu to latest Outlook 2003 style in every high detail. Following are list of configurable elements:

  • ItemStyle with 3 states: Normal, Over and Active.
    ItemStyle represent the dynamic style for each menu item.
  • CheckedItemStyle with 3 states: Normal, Over and Active.
    This dynamic style is applied to the "icon part" of checked menu item.
  • DisabledItemStyle with 3 states
    This dynamic style is applied for disabled menu item.
  • SeparatorStyle
    The style applied to Separator.
  • FrameStyle
    The style applied to the menu's frame.

There are numerous styles and behaviors that can be easily applied through WebMenuStyles. You can easily draw a background strip similar to Office-style menu by setting HasBackgroundStrip property to True. You can even customize its colors by specifying the BackgroundStripColor and additionally BackgroundStripColor2 to achieve gradient effect.

BackgroundStrip menu appearance is firstly introduced in Office XP application and later improved in Outlook 2003 where gradient colors can be applied to make the icons looks nicer. In WebMenu, you can also configure its gradient and colors in the property configuration and hence allow you to create any kind of menu themes with futuristic look

Inheritance Hierarchy

System.Object
   ISNet.WebUI.WebUIBaseClass
      ISNet.WebUI.WebDesktop.WebMenuStyles

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.