Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

How MSDN skin is created

This following table lists properties used by the built-in MSDN skin.
Property Value Remarks

The following properties apply on the _Default look. The Default look is automatically applied to all navigation items which LookID is the default value Auto when there is no other look item defined.

  • To access the _Default look item in code, use Menu.ItemLooks.Default
  • To modify the _Default look with Menu Builder, start Menu Builder, select the _Default look item, then edit its properties in the property grid;
NormalStyle.CssText background-color: transparent;
border-top-style: none;
border-bottom-style: none;
border-left-style: none;
border-right-style: none;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
No border, no background color.
HoverStyle.CssText background-color: #cccccc;
border-left: #999999 1px solid;
border-right: #999999 1px solid;
border-top: #999999 1px solid;
border-bottom: #999999 1px solid;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 4px;
padding-right: 4px;
Gray border and dark gray background color. Paddings are adjusted to compensate space occupied by the borders.
SubMenu.Style.CssText font-size: 9pt;
font-family: Verdana;
color: black;
cursor: hand; background-color: #f1f1f1;
border-right: #999999 1px solid;
border-top: #999999 1px solid;
border-left: #999999 1px solid;
border-bottom: #999999 1px solid;
padding-right: 2px;
padding-left: 2px;
padding-bottom: 2px;
padding-top: 2px
Gray border, light gray background for the menu group. Font and cursor are also specified here.
SubMenu.ItemSpacing 3 3 pixels between each navigation item
SubMenu.LeftIconCellWidth 12 Reserves some space on the left side of a vertical navigation item group for the default check icon .

Direct link to this topic