Exemple #1
0
		internal Part ()
		{
			description = "";
			title = "";
			chrome_state = PartChromeState.Normal;
			chrome_type = PartChromeType.Default;
		}
Exemple #2
0
 internal Part()
 {
     description  = "";
     title        = "";
     chrome_state = PartChromeState.Normal;
     chrome_type  = PartChromeType.Default;
 }
Exemple #3
0
 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);
 }
Exemple #4
0
 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;
 }
 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;
 }
Exemple #7
0
 public static void AddLinksWP(SPWeb web, string pageUrl, string zoneId, int zoneIndex, string title, PartChromeState chromState, PartChromeType chromeType)
 {
 }