internal Part () { description = ""; title = ""; chrome_state = PartChromeState.Normal; chrome_type = PartChromeType.Default; }
internal Part() { description = ""; title = ""; chrome_state = PartChromeState.Normal; chrome_type = PartChromeType.Default; }
public static void AddCustomContentQueryWebPart(SPWeb web, string pageUrl, string zoneId, int zoneIndex, string title, PartChromeState chromState, PartChromeType chromeType) { NCNewssitePatch1CustomContentQueryWebPart customContent = new NCNewssitePatch1CustomContentQueryWebPart(); customContent.ZoneID = zoneId; customContent.Title = title; customContent.ChromeState = chromState; customContent.ChromeType = chromeType; AddWebPart(web, customContent, pageUrl, zoneIndex); }
public static void AddCEWP(SPWeb web, string pageUrl, string zoneId,int zoneIndex, string title, PartChromeState chromState, PartChromeType chromeType) { ContentEditorWebPart contentEditor = new ContentEditorWebPart(); contentEditor.ZoneID = zoneId; contentEditor.Title = title; contentEditor.ChromeState = chromState; contentEditor.ChromeType = chromeType; AddWebPart(web, contentEditor, pageUrl, zoneIndex); }
protected WebPart() { _allowClose = true; _allowConnect = true; _allowEdit = true; _allowHide = true; _allowMinimize = true; _allowZoneChange = true; _chromeState = PartChromeState.Normal; _exportMode = WebPartExportMode.None; _helpMode = WebPartHelpMode.Navigate; _isStatic = true; _isStandalone = true; }
public static void AddLinksWP(SPWeb web, string pageUrl, string zoneId, int zoneIndex, string title, PartChromeState chromState, PartChromeType chromeType) { }