1 write to DisplayMode
System.Web (1)
UI\WebParts\CatalogZoneBase.cs (1)
368WebPartManager.DisplayMode = WebPartManager.BrowseDisplayMode;
27 references to DisplayMode
System.Web (27)
UI\WebParts\ConnectionsZone.cs (2)
600if (WebPartManager != null && WebPartManager.DisplayMode == WebPartManager.ConnectDisplayMode) { 1282if (WebPartManager != null && WebPartManager.DisplayMode == WebPartManager.ConnectDisplayMode) {
UI\WebParts\EditorZoneBase.cs (2)
221if (WebPartManager != null && WebPartManager.DisplayMode == WebPartManager.EditDisplayMode) { 324if (WebPartManager != null && WebPartManager.DisplayMode == WebPartManager.EditDisplayMode) {
UI\WebParts\ToolZone.cs (1)
77return associatedDisplayModes.Contains(WebPartManager.DisplayMode);
UI\WebParts\WebPartChrome.cs (4)
656!WebPartManager.DisplayMode.ShowHiddenWebParts) { 735if ((WebPartManager.DisplayMode != WebPartManager.ConnectDisplayMode) || 759(WebPartManager != null && !WebPartManager.DisplayMode.AllowPageDesign)) { 766((WebPartManager.DisplayMode != WebPartManager.EditDisplayMode) ||
UI\WebParts\WebPartManager.cs (10)
316if (DisplayMode == value) { 346if ((DisplayMode == ConnectDisplayMode) && (SelectedWebPart != null)) { 355if ((DisplayMode == EditDisplayMode) && (SelectedWebPart != null)) { 363WebPartDisplayModeEventArgs dme = new WebPartDisplayModeEventArgs(DisplayMode); 1052if (DisplayMode != ConnectDisplayMode) { 1096if (DisplayMode != EditDisplayMode) { 1430if ((DisplayMode == ConnectDisplayMode) && (webPart == SelectedWebPart)) { 1439if ((DisplayMode == EditDisplayMode) && (webPart == SelectedWebPart)) { 3856bool allowPageDesign = DisplayMode.AllowPageDesign; 3991if (DisplayMode.AllowPageDesign) {
UI\WebParts\WebPartZoneBase.cs (8)
268WebPartManager.DisplayMode.AllowPageDesign); 363hasHeader = WebPartManager.DisplayMode.AllowPageDesign; 819WebPartManager.DisplayMode == WebPartManager.ConnectDisplayMode && 881WebPartManager.DisplayMode == WebPartManager.EditDisplayMode && 896if ((WebPartManager != null) && (WebPartManager.DisplayMode.AllowPageDesign)) { 1128WebPartManager.DisplayMode.AllowPageDesign && 1200if (DesignMode || (WebPartManager != null && (WebPartManager.DisplayMode.AllowPageDesign))) { 1377WebPartManager.DisplayMode.AllowPageDesign && !String.IsNullOrEmpty(emptyZoneText));