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
- CellConstantDomain.cs
- FocusChangedEventArgs.cs
- Interlocked.cs
- WindowProviderWrapper.cs
- UpdateTranslator.cs
- UpdatePanelControlTrigger.cs
- XmlWellformedWriter.cs
- CharEntityEncoderFallback.cs
- BypassElementCollection.cs
- TextDecorationCollectionConverter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DataGridView.cs
- XmlChoiceIdentifierAttribute.cs
- ScrollContentPresenter.cs
- SafeArrayRankMismatchException.cs
- ImageDesigner.cs
- ToolboxItemAttribute.cs
- InlineUIContainer.cs
- FileUtil.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- DataObjectMethodAttribute.cs
- MatrixTransform3D.cs
- UnhandledExceptionEventArgs.cs
- ImpersonationContext.cs
- DataGridViewMethods.cs
- ObjectItemCachedAssemblyLoader.cs
- FieldValue.cs
- Property.cs
- ContentValidator.cs
- ResXDataNode.cs
- XmlNamedNodeMap.cs
- DataGridViewCellConverter.cs
- WebPartConnectionsConfigureVerb.cs
- CapiNative.cs
- CalloutQueueItem.cs
- OleServicesContext.cs
- HtmlForm.cs
- ShapingEngine.cs
- WSSecurityPolicy11.cs
- HttpVersion.cs
- EditorPartCollection.cs
- HelpPage.cs
- ButtonFlatAdapter.cs
- Preprocessor.cs
- DeploymentSectionCache.cs
- OdbcConnectionHandle.cs
- Quad.cs
- ServiceParser.cs
- DecoderBestFitFallback.cs
- ToolboxService.cs
- EntityDataSourceWrapperCollection.cs
- TearOffProxy.cs
- TimeStampChecker.cs
- EntityTypeEmitter.cs
- Exceptions.cs
- XsdBuildProvider.cs
- SingleAnimation.cs
- Directory.cs
- DrawingAttributeSerializer.cs
- TimeIntervalCollection.cs
- XmlLoader.cs
- NavigateEvent.cs
- WebPartDisplayModeEventArgs.cs
- TreeNodeBindingCollection.cs
- RegisteredScript.cs
- RulePatternOps.cs
- StreamWriter.cs
- FontSource.cs
- WindowsFormsLinkLabel.cs
- TabRenderer.cs
- HttpListenerContext.cs
- ConfigXmlWhitespace.cs
- ClientSession.cs
- ViewStateModeByIdAttribute.cs
- Viewport2DVisual3D.cs
- LabelLiteral.cs
- BufferedGraphicsContext.cs
- EventLogPermission.cs
- GeometryValueSerializer.cs
- StylusDownEventArgs.cs
- CmsInterop.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- SocketManager.cs
- BitmapEffect.cs
- FormsAuthenticationUserCollection.cs
- OracleFactory.cs
- RC2CryptoServiceProvider.cs
- PropertyBuilder.cs
- XmlSchemaExternal.cs
- BitmapEditor.cs
- SerializerWriterEventHandlers.cs
- Validator.cs
- ContextMenuAutomationPeer.cs
- Block.cs
- PageThemeBuildProvider.cs
- xmlformatgeneratorstatics.cs
- ChannelToken.cs
- GuidConverter.cs
- IODescriptionAttribute.cs
- AssociationSetMetadata.cs