3 types derived from WebPart
System.Web (3)
UI\WebParts\GenericWebPart.cs (1)
28public class GenericWebPart : WebPart {
UI\WebParts\PropertyGridEditorPart.cs (1)
352private sealed class DesignModeWebPart : WebPart {
UI\WebParts\ProxyWebPart.cs (1)
20public abstract class ProxyWebPart : WebPart {
284 references to WebPart
System.Web (284)
UI\Page.cs (1)
5256WebPart webPartToExport = null;
UI\WebParts\AppearanceEditorPart.cs (2)
66WebPart webPart = WebPartToEdit; 271WebPart webPart = WebPartToEdit;
UI\WebParts\BehaviorEditorPart.cs (2)
99WebPart webPart = WebPartToEdit; 408WebPart webPart = WebPartToEdit;
UI\WebParts\BlobPersonalizationState.cs (11)
156WebPart hasDataWebPart = null; 162Debug.Assert(control is WebPart); 163hasDataWebPart = (WebPart)control; 339public override void ApplyWebPartPersonalization(WebPart webPart) { 432private string CreatePersonalizationID(Control control, WebPart associatedGenericWebPart) { 738WebPart hasDataWebPart = null; 744Debug.Assert(control is WebPart); 745hasDataWebPart = (WebPart)control; 761public override void ExtractWebPartPersonalization(WebPart webPart) { 919bool isWebPartManager, WebPart hasDataWebPart, 1189public override void SetWebPartDirty(WebPart webPart) {
UI\WebParts\CatalogPart.cs (1)
65public abstract WebPart GetWebPart(WebPartDescription description);
UI\WebParts\CatalogZoneBase.cs (2)
337WebPart part = selectedCatalogPart.GetWebPart(webPartDescription); 353foreach (WebPart part in webParts) {
UI\WebParts\ConnectionsZone.cs (30)
74private WebPart _pendingConsumer; 75private WebPart _pendingProvider; 598protected WebPart WebPartToConnect { 631WebPart consumer = WebPartToConnect; 715WebPart provider = WebPartToConnect; 802WebPart webPartToConnect = WebPartToConnect; 1037private string GetDisplayTitle(WebPart part, ConnectionPoint connectionPoint, bool isConsumer) { 1057private IDictionary GetValidConsumers(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 1073foreach (WebPart consumer in webParts) { 1107private IDictionary GetValidProviders(WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, 1123foreach (WebPart provider in webParts) { 1372WebPart webPartToConnect = WebPartToConnect; 1473WebPart webPartToConnect = WebPartToConnect; 1566WebPart webPartToConnect = WebPartToConnect; 1675WebPart webPartToConnect = WebPartToConnect; 1825WebPart webPartToConnect = WebPartToConnect; 1832WebPart consumer = connection.Consumer; 1865WebPart webPartToConnect = WebPartToConnect; 1872WebPart provider = connection.Provider; 2118WebPart webPartToConnect = WebPartToConnect; 2152WebPart currentConsumerWebPart = null; 2207WebPart currentProviderWebPart = null; 2321private WebPart _webPart; 2324protected ConnectionPointInfo(WebPart webPart) { 2328protected ConnectionPointInfo(WebPart webPart, Type transformerType) : this(webPart) { 2338public WebPart WebPart { 2348public ConsumerInfo(WebPart webPart, ConsumerConnectionPoint connectionPoint) : base(webPart) { 2352public ConsumerInfo(WebPart webPart, ConsumerConnectionPoint connectionPoint, 2367public ProviderInfo(WebPart webPart, ProviderConnectionPoint connectionPoint) : base(webPart) { 2371public ProviderInfo(WebPart webPart, ProviderConnectionPoint connectionPoint,
UI\WebParts\DeclarativeCatalogPart.cs (3)
84WebPart webPart = control as WebPart; 109public override WebPart GetWebPart(WebPartDescription description) {
UI\WebParts\EditorPart.cs (3)
26private WebPart _webPartToEdit; 92protected WebPart WebPartToEdit { 236internal void SetWebPartToEdit(WebPart webPartToEdit) {
UI\WebParts\EditorZoneBase.cs (4)
112WebPart webPartToEdit = WebPartToEdit; 219protected WebPart WebPartToEdit { 231WebPart webPartToEdit = WebPartToEdit; 264WebPart webPartToEdit = WebPartToEdit;
UI\WebParts\GenericWebPart.cs (1)
42if (control is WebPart) {
UI\WebParts\ImportCatalogPart.cs (3)
28private WebPart _availableWebPart; 240if (!partType.IsSubclassOf(typeof(WebPart)) && !partType.IsSubclassOf(typeof(Control))) { 315public override WebPart GetWebPart(WebPartDescription description) {
UI\WebParts\LayoutEditorPart.cs (4)
33WebPart webPart = WebPartToEdit; 50WebPart webPart = WebPartToEdit; 96WebPart webPart = WebPartToEdit; 228WebPart webPart = WebPartToEdit;
UI\WebParts\PageCatalogPart.cs (3)
74foreach(WebPart part in availableWebParts) { 98foreach (WebPart part in webParts) { 108public override WebPart GetWebPart(WebPartDescription description) {
UI\WebParts\PersonalizationState.cs (4)
54public abstract void ApplyWebPartPersonalization(WebPart webPart); 62public abstract void ExtractWebPartPersonalization(WebPart webPart); 80public abstract void SetWebPartDirty(WebPart webPart); 88protected void ValidateWebPart(WebPart webPart) {
UI\WebParts\PropertyGridEditorPart.cs (2)
35private static readonly WebPart designModeWebPart = new DesignModeWebPart(); 238WebPart webPartToEdit = WebPartToEdit;
UI\WebParts\ProxyWebPart.cs (1)
27protected ProxyWebPart(WebPart webPart) {
UI\WebParts\UnauthorizedWebPart.cs (1)
22public UnauthorizedWebPart(WebPart webPart) : base(webPart) {
UI\WebParts\WebPart.cs (5)
811WebPart webPart = wpm.GetGenericWebPart(control); 867WebPart p1 = (WebPart)x; 868WebPart p2 = (WebPart)y;
UI\WebParts\WebPartAddingEventArgs.cs (1)
16public WebPartAddingEventArgs(WebPart webPart, WebPartZoneBase zone, int zoneIndex) : base(webPart) {
UI\WebParts\WebPartCancelEventArgs.cs (3)
13private WebPart _webPart; 15public WebPartCancelEventArgs(WebPart webPart) { 19public WebPart WebPart {
UI\WebParts\WebPartChrome.cs (16)
149protected virtual Style CreateWebPartChromeStyle(WebPart webPart, PartChromeType chromeType) { 185private string GenerateDescriptionText(WebPart webPart) { 196private string GenerateTitleText(WebPart webPart) { 207protected string GetWebPartChromeClientID(WebPart webPart) { 214protected string GetWebPartTitleClientID(WebPart webPart) { 221protected virtual WebPartVerbCollection GetWebPartVerbs(WebPart webPart) { 228protected virtual WebPartVerbCollection FilterWebPartVerbs(WebPartVerbCollection verbs, WebPart webPart) { 282protected virtual void RenderPartContents(HtmlTextWriter writer, WebPart webPart) { 298private void RenderTitleBar(HtmlTextWriter writer, WebPart webPart) { 369private void RenderTitleIcon(HtmlTextWriter writer, WebPart webPart) { 379private void RenderTitleText(HtmlTextWriter writer, WebPart webPart) { 410private void RenderVerb(HtmlTextWriter writer, WebPart webPart, WebPartVerb verb) { 577private void RenderVerbs(HtmlTextWriter writer, WebPart webPart, WebPartVerbCollection verbs) { 595private void RenderVerbsInTitleBar(HtmlTextWriter writer, WebPart webPart, int colspan) { 622public virtual void RenderWebPart(HtmlTextWriter writer, WebPart webPart) { 715private bool ShouldRenderVerb(WebPartVerb verb, WebPart webPart) {
UI\WebParts\WebPartCollection.cs (9)
30if (!(obj is WebPart)) { 37internal int Add(WebPart value) { 42public bool Contains(WebPart value) { 46public int IndexOf(WebPart value) { 50public WebPart this[int index] { 52return (WebPart) InnerList[index]; 61public WebPart this[string id] { 64foreach (WebPart webPart in InnerList) { 96public void CopyTo(WebPart[] array, int index) {
UI\WebParts\WebPartConnection.cs (6)
42public WebPart Consumer { 65WebPart consumer = Consumer; 159public WebPart Provider { 182WebPart provider = Provider; 256WebPart providerWebPart = Provider; 260WebPart consumerWebPart = Consumer;
UI\WebParts\WebPartConnectionCollection.cs (1)
85internal bool ContainsProvider(WebPart provider) {
UI\WebParts\WebPartConnectionsCancelEventArgs.cs (8)
13private WebPart _provider; 15private WebPart _consumer; 19public WebPartConnectionsCancelEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 20WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint) { 28public WebPartConnectionsCancelEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 29WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, 41public WebPart Consumer { 53public WebPart Provider {
UI\WebParts\WebPartConnectionsEventArgs.cs (8)
12private WebPart _provider; 14private WebPart _consumer; 18public WebPartConnectionsEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 19WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint) { 27public WebPartConnectionsEventArgs(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 28WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, 40public WebPart Consumer { 52public WebPart Provider {
UI\WebParts\WebPartDescription.cs (3)
17private WebPart _part; 35public WebPartDescription(WebPart part) { 79internal WebPart WebPart {
UI\WebParts\WebPartEventArgs.cs (3)
12private WebPart _webPart; 14public WebPartEventArgs(WebPart webPart) { 18public WebPart WebPart {
UI\WebParts\WebPartManager.cs (97)
141private WebPart _selectedWebPart; 515public WebPart SelectedWebPart { 893internal void AddWebPart(WebPart webPart) { 897private WebPart AddDynamicWebPartToZone(WebPart webPart, WebPartZoneBase zone, int zoneIndex) { 908WebPart newWebPart = CopyWebPart(webPart); 928public WebPart AddWebPart(WebPart webPart, WebPartZoneBase zone, int zoneIndex) { 955WebPart addedWebPart; 978private void AddWebPartToDictionary(WebPart webPart) { 984partsForZone = new SortedList(new WebPart.ZoneIndexComparer()); 996private void AddWebPartToZone(WebPart webPart, WebPartZoneBase zone, int zoneIndex) { 1009WebPart successor = renderedParts[zoneIndex]; 1019WebPart part = ((WebPart)allParts[i]); 1023WebPart part = ((WebPart)allParts[i]); 1037public virtual void BeginWebPartConnecting(WebPart webPart) { 1081public virtual void BeginWebPartEditing(WebPart webPart) { 1173foreach (WebPart part in Controls) { 1185public bool CanConnectWebParts(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 1186WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint) { 1190public virtual bool CanConnectWebParts(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 1191WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, 1197private bool CanConnectWebPartsCore(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 1198WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, 1387public void CloseWebPart(WebPart webPart) { 1391private void CloseOrDeleteWebPart(WebPart webPart, bool delete) { 1614WebPart providerWebPart = connection.Provider; 1628WebPart consumerWebPart = connection.Consumer; 1676public WebPartConnection ConnectWebParts(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 1677WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint) { 1681public virtual WebPartConnection ConnectWebParts(WebPart provider, ProviderConnectionPoint providerConnectionPoint, 1682WebPart consumer, ConsumerConnectionPoint consumerConnectionPoint, 1729protected virtual WebPart CopyWebPart(WebPart webPart) { 1730WebPart newWebPart; 1744newWebPart = (WebPart)Internals.CreateObjectFromType(webPart.GetType()); 1865private string CreateDisplayTitle(string title, WebPart webPart, int count) { 1892foreach (WebPart part in Controls) { 1912WebPart firstPart = (WebPart)parts[0]; 1989public void DeleteWebPart(WebPart webPart) { 1994protected virtual void DisconnectWebPart(WebPart webPart) { 2019WebPart provider = connection.Provider; 2021WebPart consumer = connection.Consumer; 2072WebPart selectedWebPart = SelectedWebPart; 2097WebPart selectedWebPart = SelectedWebPart; 2119public virtual void ExportWebPart(WebPart webPart, XmlWriter writer) { 2289foreach (WebPart part in Controls) { 2296partsForZone = new SortedList(new WebPart.ZoneIndexComparer()); 2334internal ConsumerConnectionPoint GetConsumerConnectionPoint(WebPart webPart, string connectionPointID) { 2344public virtual ConsumerConnectionPointCollection GetConsumerConnectionPoints(WebPart webPart) { 2373protected internal virtual string GetDisplayTitle(WebPart webPart) { 2394private static ICollection GetEnabledConnectionPoints(ICollection connectionPoints, WebPart webPart) { 2405internal ConsumerConnectionPointCollection GetEnabledConsumerConnectionPoints(WebPart webPart) { 2410internal ProviderConnectionPointCollection GetEnabledProviderConnectionPoints(WebPart webPart) { 2415public string GetExportUrl(WebPart webPart) { 2532foreach (WebPart part in Controls) { 2543internal ProviderConnectionPoint GetProviderConnectionPoint(WebPart webPart, string connectionPointID) { 2553public virtual ProviderConnectionPointCollection GetProviderConnectionPoints(WebPart webPart) { 2586foreach (WebPart part in allWebPartsForZone) { 2600internal WebPartConnection GetConnectionForConsumer(WebPart consumer, ConsumerConnectionPoint connectionPoint) { 2636internal WebPartConnection GetConnectionForProvider(WebPart provider, ProviderConnectionPoint connectionPoint) { 2697public virtual WebPart ImportWebPart(XmlReader reader, out string errorMessage) { 2741WebPart part = null; 2772if (!partType.IsSubclassOf(typeof(WebPart))) { 2785part = (WebPart)(Internals.CreateObjectFromType(partType)); 3194public bool IsAuthorized(WebPart webPart) { 3239internal bool IsConsumerConnected(WebPart consumer, ConsumerConnectionPoint connectionPoint) { 3243internal bool IsProviderConnected(WebPart provider, ProviderConnectionPoint connectionPoint) { 3268WebPart selectedWebPart = WebParts[(string)myState[selectedWebPartIndex]]; 3347WebPart dynamicWebPart = null; 3359else if (type.IsSubclassOf(typeof(WebPart))) { 3363dynamicWebPart = (WebPart)Internals.CreateObjectFromType(type); 3525WebPart part = (WebPart)FindControl(id); 3545public virtual void MoveWebPart(WebPart webPart, WebPartZoneBase zone, int zoneIndex) { 3711foreach (WebPart webPart in Controls) { 3878foreach (WebPart webPart in webParts) { 3950private void RemoveWebPartFromDictionary(WebPart webPart) { 3963internal void RemoveWebPart(WebPart webPart) { 3970private void RemoveWebPartFromZone(WebPart webPart) { 3984WebPart part = ((WebPart)parts[i]); 4029WebPart webPart = (WebPart)Controls[i]; 4047foreach (WebPart webPart in Controls) { 4060WebPart webPart = (WebPart)dynamicWebParts[i]; 4203private bool ShouldRenderWebPartInZone(WebPart part, WebPartZoneBase zone) { 4214protected void SetSelectedWebPart(WebPart webPart) { 4353internal void AddWebPart(WebPart webPart) { 4369private void AddWebPartHelper(WebPart webPart) { 4416foreach (WebPart webPart in webParts) { 4420WebPart webPartOrProxy = webPart; 4443internal void RemoveWebPart(WebPart webPart) {
UI\WebParts\WebPartManagerInternals.cs (16)
19public void AddWebPart(WebPart webPart) { 23public void CallOnClosing(WebPart webPart) { 27public void CallOnConnectModeChanged(WebPart webPart) { 31public void CallOnDeleting(WebPart webPart) { 35public void CallOnEditModeChanged(WebPart webPart) { 51public string GetZoneID(WebPart webPart) { 59public void RemoveWebPart(WebPart webPart) { 67public void SetConnectErrorMessage(WebPart webPart, string connectErrorMessage) { 71public void SetHasUserData(WebPart webPart, bool hasUserData) { 75public void SetHasSharedData(WebPart webPart, bool hasSharedData) { 79public void SetIsClosed(WebPart webPart, bool isClosed) { 87public void SetIsShared(WebPart webPart, bool isShared) { 91public void SetIsStandalone(WebPart webPart, bool isStandalone) { 99public void SetIsStatic(WebPart webPart, bool isStatic) { 107public void SetZoneID(WebPart webPart, string zoneID) { 111public void SetZoneIndex(WebPart webPart, int zoneIndex) {
UI\WebParts\WebPartMenu.cs (3)
118public void Render(HtmlTextWriter writer, ICollection verbs, string clientID, WebPart associatedWebPart, 129private void RenderLabel(HtmlTextWriter writer, string clientID, WebPart associatedWebPart) { 196private void RenderMenuPopup(HtmlTextWriter writer, ICollection verbs, string clientID, WebPart associatedWebPart,
UI\WebParts\WebPartMovingEventArgs.cs (1)
16public WebPartMovingEventArgs(WebPart webPart, WebPartZoneBase zone, int zoneIndex) : base(webPart) {
UI\WebParts\WebPartPersonalization.cs (5)
281protected internal virtual void ApplyPersonalizationState(WebPart webPart) { 336protected internal virtual void CopyPersonalizationState(WebPart webPartA, WebPart webPartB) { 441protected internal virtual void ExtractPersonalizationState(WebPart webPart) { 600protected internal virtual void SetDirty(WebPart webPart) {
UI\WebParts\WebPartTracker.cs (2)
18private WebPart _webPart; 21public WebPartTracker(WebPart webPart, ProviderConnectionPoint providerConnectionPoint) {
UI\WebParts\WebPartZone.cs (2)
48WebPart part = control as WebPart;
UI\WebParts\WebPartZoneBase.cs (17)
757WebPart[] parts = new WebPart[Controls.Count]; 805protected virtual void CloseWebPart(WebPart webPart) { 814protected virtual void ConnectWebPart(WebPart webPart) { 832foreach (WebPart part in webParts) { 867protected virtual void DeleteWebPart(WebPart webPart) { 876protected virtual void EditWebPart(WebPart webPart) { 1008protected virtual void MinimizeWebPart(WebPart webPart) { 1063WebPart part = allWebParts[partID]; 1109if (wholePartID.StartsWith(WebPart.WholePartIDPrefix, StringComparison.Ordinal)) { 1110partID = wholePartID.Substring(WebPart.WholePartIDPrefix.Length); 1114WebPart actionPart = allWebParts[partID]; 1140WebPart part = allWebParts[partID]; 1157WebPart part = allWebParts[partID]; 1230foreach (WebPart webPart in webParts) { 1478protected virtual void RestoreWebPart(WebPart webPart) { 1577internal WebPartVerbCollection VerbsForWebPart(WebPart webPart) {