Exemplo n.º 1
0
        public override Microsoft.SharePoint.WebPartPages.ToolPart[] GetToolParts()
        {
            CustomToolPart customToolPart = new CustomToolPart();

            customToolPart.Title = "AIA Setting";

            Microsoft.SharePoint.WebPartPages.ToolPart[] toolParts = new Microsoft.SharePoint.WebPartPages.ToolPart[3];
            toolParts[0] = new Microsoft.SharePoint.WebPartPages.WebPartToolPart();
            toolParts[1] = new Microsoft.SharePoint.WebPartPages.CustomPropertyToolPart();
            toolParts[2] = customToolPart;


            return(toolParts);
        }
Exemplo n.º 2
0
        public override Microsoft.SharePoint.WebPartPages.ToolPart[] GetToolParts()
        {
            CustomToolPart customToolPart = new CustomToolPart();
            customToolPart.Title = "AIA Setting";

            Microsoft.SharePoint.WebPartPages.ToolPart[] toolParts = new Microsoft.SharePoint.WebPartPages.ToolPart[3];
            toolParts[0] = new Microsoft.SharePoint.WebPartPages.WebPartToolPart();
            toolParts[1] = new Microsoft.SharePoint.WebPartPages.CustomPropertyToolPart();
            toolParts[2] = customToolPart;

            return toolParts;
        }