protected void Page_Load(object sender, EventArgs e)
{
//Menu1.StaticPopOutImageUrl = "2.gif";
Menu2.StaticMenuItemStyle.ItemSpacing=System.Web.UI.WebControls.Unit.Parse("10px");
//改变静态菜单项的距离
Menu2.DynamicMenuItemStyle.BackColor = System.Drawing.Color.PowderBlue;
//静态菜单项的背景颜色
Menu2.DynamicHoverStyle.BackColor = System.Drawing.Color.Red;
//动态菜单项的背景颜色
Menu2.StaticEnableDefaultPopOutImage = false;
//关闭静态和动态菜单项的小箭头
}
顺便代码化一下`