SharePoint 2013 Suite Bar

一开始不知道如何定制这个东西因为不知道叫啥名字,于是老办法找Html的ID,知道了叫Suite Bar,然后谷歌一下很多方案。如下图:

   

关于suite bar的定义很简单用的是out-of-the-box delegate control,其中xml的定义如下:

   

<?xml version="1.0" encoding="utf-8"?>

   

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">

   

<Control Id="SuiteLinksDelegate" Sequence="90"

   

ControlSrc="~/_ControlTemplates/15/SuiteBar/CustomSuiteBar.ascx" />

   

</Elements>

   

然后定义ascx文件,分两种:

   

完全去除自带条目

   

继承原有条目

   

   

原文地址:https://www.cnblogs.com/Believeme/p/3103882.html