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
- CollectionChangedEventManager.cs
- UnitControl.cs
- DateTimeValueSerializerContext.cs
- ApplicationManager.cs
- TemplatePagerField.cs
- Bold.cs
- StylusEventArgs.cs
- TextSearch.cs
- FileLogRecordEnumerator.cs
- SortKey.cs
- InstanceKeyView.cs
- RuntimeIdentifierPropertyAttribute.cs
- mda.cs
- ToolBarDesigner.cs
- ScrollableControlDesigner.cs
- ObjectDataSourceEventArgs.cs
- SapiRecognizer.cs
- ScriptingScriptResourceHandlerSection.cs
- SimpleHandlerBuildProvider.cs
- XamlNamespaceHelper.cs
- QilNode.cs
- ToolStripTextBox.cs
- BaseParser.cs
- Documentation.cs
- formatter.cs
- XmlUtf8RawTextWriter.cs
- SemanticAnalyzer.cs
- QilTypeChecker.cs
- TextTreeRootNode.cs
- OutputCacheSection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- IUnknownConstantAttribute.cs
- _Semaphore.cs
- FocusWithinProperty.cs
- SqlConnectionFactory.cs
- CollectionViewGroupRoot.cs
- RNGCryptoServiceProvider.cs
- GlyphingCache.cs
- DrawingAttributeSerializer.cs
- TextServicesCompartmentEventSink.cs
- nulltextnavigator.cs
- DataGridViewCell.cs
- HwndSourceParameters.cs
- WithStatement.cs
- Error.cs
- __TransparentProxy.cs
- Lasso.cs
- MarshalDirectiveException.cs
- MarkupExtensionReturnTypeAttribute.cs
- AudioDeviceOut.cs
- ZipIORawDataFileBlock.cs
- SafeWaitHandle.cs
- ImagingCache.cs
- IssuedTokenServiceCredential.cs
- GroupBox.cs
- Context.cs
- _SslStream.cs
- ToolStripSeparator.cs
- AnonymousIdentificationModule.cs
- EventlogProvider.cs
- AttributeXamlType.cs
- InvalidOperationException.cs
- _AutoWebProxyScriptHelper.cs
- unsafeIndexingFilterStream.cs
- WebPartConnectionCollection.cs
- ProjectionPathSegment.cs
- FacetChecker.cs
- Utils.cs
- HttpResponseHeader.cs
- Util.cs
- NavigationService.cs
- SmiMetaData.cs
- SelectorItemAutomationPeer.cs
- Menu.cs
- TextSimpleMarkerProperties.cs
- MessageBuffer.cs
- SqlCachedBuffer.cs
- FontCacheLogic.cs
- DetailsViewDeleteEventArgs.cs
- XmlIgnoreAttribute.cs
- HttpConfigurationSystem.cs
- TrackingProfileManager.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Repeater.cs
- VariableDesigner.xaml.cs
- FixedSOMTableCell.cs
- FacetValueContainer.cs
- ToolboxItem.cs
- COM2Enum.cs
- SoapInteropTypes.cs
- ResXFileRef.cs
- XmlSchemaImport.cs
- XmlSerializerVersionAttribute.cs
- ClosureBinding.cs
- CodeIterationStatement.cs
- ClientRuntimeConfig.cs
- UniqueID.cs
- SymLanguageVendor.cs
- HashStream.cs
- OrthographicCamera.cs