Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / DataGridCommandEventArgs.cs / 1 / DataGridCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataGridCommandEventArgs : CommandEventArgs { private DataGridItem item; private object commandSource; ///Provides data for some ///events. /// public DataGridCommandEventArgs(DataGridItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; this.commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public DataGridItem Item { get { return item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the item in the ///that was clicked. This property is read-only. // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataGridCommandEventArgs : CommandEventArgs { private DataGridItem item; private object commandSource; ///Provides data for some ///events. /// public DataGridCommandEventArgs(DataGridItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; this.commandSource = commandSource; } ///Initializes a new instance of the ////// class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public DataGridItem Item { get { return item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the item in the ///that was clicked. This property is read-only.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HelloOperationCD1AsyncResult.cs
- SecurityUniqueId.cs
- DetailsViewUpdatedEventArgs.cs
- CalendarAutomationPeer.cs
- VsPropertyGrid.cs
- TheQuery.cs
- SettingsProperty.cs
- PointCollectionValueSerializer.cs
- ServicePointManager.cs
- DbConnectionPool.cs
- DictationGrammar.cs
- PageThemeParser.cs
- GeneralTransform.cs
- GuidConverter.cs
- UnsafeNativeMethods.cs
- ButtonBase.cs
- CriticalHandle.cs
- XmlSchemaInclude.cs
- FixedSOMTable.cs
- DummyDataSource.cs
- MessageBox.cs
- NotifyInputEventArgs.cs
- LambdaCompiler.Generated.cs
- StaticSiteMapProvider.cs
- URLMembershipCondition.cs
- DescendentsWalkerBase.cs
- EmptyCollection.cs
- SerializableAttribute.cs
- CellParaClient.cs
- DuplicateWaitObjectException.cs
- ResourceReferenceExpression.cs
- SimpleBitVector32.cs
- KeyValuePairs.cs
- TraceInternal.cs
- FirstMatchCodeGroup.cs
- Command.cs
- RadioButtonAutomationPeer.cs
- Matrix.cs
- FileSystemInfo.cs
- EdmType.cs
- VersionUtil.cs
- UrlMappingsSection.cs
- CodeSubDirectory.cs
- StylusPlugInCollection.cs
- ApplyHostConfigurationBehavior.cs
- HealthMonitoringSectionHelper.cs
- SerializationInfoEnumerator.cs
- OdbcDataAdapter.cs
- SqlProviderManifest.cs
- FreeFormDesigner.cs
- SafeTokenHandle.cs
- ImageListImage.cs
- DeferredReference.cs
- SymLanguageType.cs
- TrackingMemoryStreamFactory.cs
- XmlNamedNodeMap.cs
- HandleCollector.cs
- InstanceValue.cs
- WeakHashtable.cs
- LinkClickEvent.cs
- COM2ComponentEditor.cs
- sqlnorm.cs
- MultipartContentParser.cs
- BlurBitmapEffect.cs
- ViewEventArgs.cs
- BindingExpressionBase.cs
- InvalidCommandTreeException.cs
- NameScopePropertyAttribute.cs
- Shape.cs
- InternalBase.cs
- InvalidDataException.cs
- DecimalMinMaxAggregationOperator.cs
- FileUtil.cs
- TransformerInfo.cs
- PageContent.cs
- Model3D.cs
- ReadOnlyCollectionBase.cs
- TiffBitmapDecoder.cs
- Label.cs
- BaseAutoFormat.cs
- TrackingMemoryStreamFactory.cs
- GenerateScriptTypeAttribute.cs
- EastAsianLunisolarCalendar.cs
- Axis.cs
- FontSource.cs
- ViewCellSlot.cs
- WebReferencesBuildProvider.cs
- PriorityBindingExpression.cs
- RuntimeResourceSet.cs
- SHA384CryptoServiceProvider.cs
- documentsequencetextpointer.cs
- SingleTagSectionHandler.cs
- XmlReader.cs
- _CommandStream.cs
- DataKeyArray.cs
- WindowsIPAddress.cs
- WebPartConnectionsDisconnectVerb.cs
- ResourceFallbackManager.cs
- AppDomainManager.cs
- DataGridViewCellStyleContentChangedEventArgs.cs