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
- ListCollectionView.cs
- Compilation.cs
- Models.cs
- HttpClientCertificate.cs
- EllipseGeometry.cs
- WmlObjectListAdapter.cs
- ZipPackage.cs
- compensatingcollection.cs
- FastEncoderWindow.cs
- UDPClient.cs
- Translator.cs
- ControlIdConverter.cs
- _SslStream.cs
- ResourcePart.cs
- PointCollectionConverter.cs
- Assembly.cs
- sqlser.cs
- AssemblyAssociatedContentFileAttribute.cs
- StreamMarshaler.cs
- SelectorAutomationPeer.cs
- ContextInformation.cs
- NetSectionGroup.cs
- ServiceOperationListItemList.cs
- SignatureHelper.cs
- ComplexTypeEmitter.cs
- Module.cs
- ToolStripItem.cs
- CreateUserWizardStep.cs
- CannotUnloadAppDomainException.cs
- XmlConvert.cs
- MatrixTransform.cs
- SignerInfo.cs
- DataGridCellItemAutomationPeer.cs
- DataSourceProvider.cs
- ObjectAnimationUsingKeyFrames.cs
- IntSecurity.cs
- Evidence.cs
- RepeatBehaviorConverter.cs
- ColumnHeader.cs
- ProxyAttribute.cs
- CollectionBuilder.cs
- PointAnimationBase.cs
- BasicBrowserDialog.cs
- SerializationInfoEnumerator.cs
- ParamArrayAttribute.cs
- CompletedAsyncResult.cs
- PointLight.cs
- GlobalAllocSafeHandle.cs
- errorpatternmatcher.cs
- PagesChangedEventArgs.cs
- UIHelper.cs
- Debug.cs
- ProcessModule.cs
- AssemblyHelper.cs
- PersonalizableTypeEntry.cs
- CodeGotoStatement.cs
- CodeAttributeDeclarationCollection.cs
- IncrementalHitTester.cs
- ProxyFragment.cs
- Comparer.cs
- RelationshipConstraintValidator.cs
- Compiler.cs
- ObjectDataSource.cs
- MatrixStack.cs
- PointLightBase.cs
- InstanceHandle.cs
- ReachSerializerAsync.cs
- FtpCachePolicyElement.cs
- Evaluator.cs
- SemaphoreFullException.cs
- BinaryCommonClasses.cs
- HostingEnvironmentException.cs
- AuthenticationModulesSection.cs
- LineServicesCallbacks.cs
- TemplateNameScope.cs
- ToolStripDropDownItemDesigner.cs
- DataBinding.cs
- DataServiceRequestException.cs
- TextParagraphProperties.cs
- InternalCache.cs
- ExceptionNotification.cs
- EasingKeyFrames.cs
- StatusBarDrawItemEvent.cs
- CompositeControl.cs
- DictionaryTraceRecord.cs
- SqlBulkCopyColumnMapping.cs
- FormViewCommandEventArgs.cs
- OperationBehaviorAttribute.cs
- Part.cs
- TraceInternal.cs
- EntryIndex.cs
- EventLogger.cs
- ViewManager.cs
- EntityConnectionStringBuilderItem.cs
- StreamWithDictionary.cs
- PackUriHelper.cs
- OdbcDataReader.cs
- ScriptReferenceEventArgs.cs
- ListViewDeletedEventArgs.cs
- StrokeNodeEnumerator.cs