Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / BaseDataListActionList.cs / 1 / BaseDataListActionList.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Diagnostics; using System.Web.UI.Design; using System.Web.UI.Design.Util; using System.Web.UI.WebControls; ///internal class BaseDataListActionList : DataBoundControlActionList { private IDataSourceDesigner _dataSourceDesigner; private ControlDesigner _controlDesigner; /// public BaseDataListActionList(ControlDesigner controlDesigner, IDataSourceDesigner dataSourceDesigner) : base(controlDesigner, dataSourceDesigner) { _controlDesigner = controlDesigner; _dataSourceDesigner = dataSourceDesigner; } /// public void InvokePropertyBuilder() { Debug.Assert(_controlDesigner is BaseDataListDesigner, "Called by wrong designer type"); ((BaseDataListDesigner)_controlDesigner).InvokePropertyBuilder(0); } /// public override DesignerActionItemCollection GetSortedActionItems() { DesignerActionItemCollection items = base.GetSortedActionItems(); if(items== null) { items = new DesignerActionItemCollection(); } items.Add(new DesignerActionMethodItem(this, "InvokePropertyBuilder", SR.GetString(SR.BDL_PropertyBuilderVerb), SR.GetString(SR.BDL_BehaviorGroup), SR.GetString(SR.BDL_PropertyBuilderDesc))); return items; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScrollChrome.cs
- ListQueryResults.cs
- TileBrush.cs
- WindowCollection.cs
- URLEditor.cs
- DispatchChannelSink.cs
- ResumeStoryboard.cs
- SqlUtils.cs
- StateRuntime.cs
- SelectionItemPattern.cs
- DiffuseMaterial.cs
- ScaleTransform3D.cs
- RuntimeArgumentHandle.cs
- WorkflowInstanceExtensionManager.cs
- BaseParagraph.cs
- SecureEnvironment.cs
- LinearKeyFrames.cs
- TimeSpanValidatorAttribute.cs
- SuppressMergeCheckAttribute.cs
- NopReturnReader.cs
- AnnouncementService.cs
- EntityReference.cs
- ChtmlCommandAdapter.cs
- DesignTimeData.cs
- AssemblyBuilderData.cs
- RectangleGeometry.cs
- ArithmeticException.cs
- TransactionTraceIdentifier.cs
- ErrorRuntimeConfig.cs
- _SingleItemRequestCache.cs
- RedirectionProxy.cs
- AsyncResult.cs
- PageRanges.cs
- SoapEnumAttribute.cs
- HttpListenerContext.cs
- NamespaceCollection.cs
- WebPartConnectionsEventArgs.cs
- SqlTopReducer.cs
- XmlSchemaSimpleType.cs
- Aggregates.cs
- TreeIterator.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- OleDbInfoMessageEvent.cs
- NavigationExpr.cs
- _AutoWebProxyScriptEngine.cs
- WebPartConnectVerb.cs
- SemanticBasicElement.cs
- ValidationResult.cs
- AutomationElementIdentifiers.cs
- DebuggerAttributes.cs
- DragDropManager.cs
- Blend.cs
- XmlIlGenerator.cs
- KeyGestureValueSerializer.cs
- BmpBitmapDecoder.cs
- OutputScopeManager.cs
- TreeViewHitTestInfo.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- UniqueConstraint.cs
- ParameterBuilder.cs
- LayoutInformation.cs
- SecureStringHasher.cs
- Quaternion.cs
- SafeWaitHandle.cs
- HtmlMeta.cs
- CustomPopupPlacement.cs
- EventLogPropertySelector.cs
- OraclePermissionAttribute.cs
- SharedStatics.cs
- AsyncWaitHandle.cs
- IDictionary.cs
- OleDbError.cs
- ProofTokenCryptoHandle.cs
- ConfigUtil.cs
- VectorAnimationUsingKeyFrames.cs
- CancellationScope.cs
- TextSelection.cs
- Brush.cs
- BlockUIContainer.cs
- ProcessHostFactoryHelper.cs
- ComponentCollection.cs
- OracleDataReader.cs
- PixelFormat.cs
- CallbackWrapper.cs
- IChannel.cs
- ProvideValueServiceProvider.cs
- SHA256CryptoServiceProvider.cs
- PeerTransportListenAddressValidator.cs
- LayoutTableCell.cs
- ClientCultureInfo.cs
- ExponentialEase.cs
- XMLDiffLoader.cs
- ClientTarget.cs
- TextElementCollectionHelper.cs
- SQLInt64Storage.cs
- DesignConnectionCollection.cs
- AtlasWeb.Designer.cs
- HttpStreamXmlDictionaryReader.cs
- DataRowComparer.cs
- SyndicationDeserializer.cs