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\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\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\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,