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
- ResponseBodyWriter.cs
- XpsResource.cs
- XmlEventCache.cs
- ReadOnlyDataSourceView.cs
- MonitorWrapper.cs
- LocalizationParserHooks.cs
- DataTableReader.cs
- MeshGeometry3D.cs
- oledbconnectionstring.cs
- GridViewDeletedEventArgs.cs
- Misc.cs
- WhitespaceSignificantCollectionAttribute.cs
- TextBox.cs
- EnvironmentPermission.cs
- WCFBuildProvider.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- WebPartAddingEventArgs.cs
- CookieParameter.cs
- PropertyEmitter.cs
- WebPartZone.cs
- DataServices.cs
- PrintPreviewGraphics.cs
- PackWebResponse.cs
- ImageSourceConverter.cs
- SamlAttributeStatement.cs
- XmlDownloadManager.cs
- PeerValidationBehavior.cs
- Int32AnimationUsingKeyFrames.cs
- DetailsViewRowCollection.cs
- iisPickupDirectory.cs
- PreviewPageInfo.cs
- DesignColumnCollection.cs
- AnnotationHighlightLayer.cs
- BuiltInExpr.cs
- DataGridSortCommandEventArgs.cs
- Convert.cs
- CodeTypeReferenceCollection.cs
- TextEditorThreadLocalStore.cs
- ResourceReferenceExpressionConverter.cs
- PropertyItem.cs
- DesignerGenericWebPart.cs
- AutomationPropertyInfo.cs
- ArgumentOutOfRangeException.cs
- InputScopeAttribute.cs
- NullToBooleanConverter.cs
- AmbientEnvironment.cs
- Connector.cs
- DictionaryTraceRecord.cs
- DispatchWrapper.cs
- Image.cs
- InfoCardSymmetricCrypto.cs
- EncoderReplacementFallback.cs
- DeploymentSection.cs
- ConstraintConverter.cs
- StrongTypingException.cs
- StylusDownEventArgs.cs
- UserNameSecurityTokenParameters.cs
- SymmetricKeyWrap.cs
- SessionStateUtil.cs
- MachineSettingsSection.cs
- WebPartConnectionsEventArgs.cs
- SoundPlayer.cs
- RepeatButtonAutomationPeer.cs
- FontResourceCache.cs
- XmlBinaryReader.cs
- EntityUtil.cs
- TextEffectResolver.cs
- TextEffectCollection.cs
- Visual3DCollection.cs
- ObjectDataSourceView.cs
- ButtonChrome.cs
- MasterPageBuildProvider.cs
- RefreshPropertiesAttribute.cs
- ReceiveMessageRecord.cs
- DiscoveryMessageProperty.cs
- Int16Storage.cs
- MessageProperties.cs
- GridViewCellAutomationPeer.cs
- SafeSystemMetrics.cs
- StylusButtonEventArgs.cs
- ResourceSet.cs
- ToolStripRenderer.cs
- WindowsGraphicsWrapper.cs
- BamlLocalizableResourceKey.cs
- ContextMenuStripGroupCollection.cs
- IdentityModelDictionary.cs
- ToolStripContainer.cs
- PerfCounters.cs
- ProxyFragment.cs
- WebPartUserCapability.cs
- SplineQuaternionKeyFrame.cs
- MappingException.cs
- ListViewInsertionMark.cs
- StateItem.cs
- MarkupExtensionParser.cs
- HitTestWithGeometryDrawingContextWalker.cs
- AssociationTypeEmitter.cs
- Rijndael.cs
- PrinterUnitConvert.cs
- SerializableAttribute.cs