Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- CanonicalFontFamilyReference.cs
- WrapPanel.cs
- SelectionEditor.cs
- SmiContext.cs
- SharedPerformanceCounter.cs
- SmtpNtlmAuthenticationModule.cs
- ServiceModelStringsVersion1.cs
- View.cs
- BuildDependencySet.cs
- EntitySqlException.cs
- HwndKeyboardInputProvider.cs
- ToolBarPanel.cs
- CodeTypeReference.cs
- PngBitmapDecoder.cs
- Size.cs
- ADConnectionHelper.cs
- XmlSchemaImporter.cs
- Evidence.cs
- HelpHtmlBuilder.cs
- Subtree.cs
- COM2ICategorizePropertiesHandler.cs
- CursorConverter.cs
- KeyInterop.cs
- BinaryWriter.cs
- GacUtil.cs
- StatusBarAutomationPeer.cs
- BamlMapTable.cs
- OutOfProcStateClientManager.cs
- SetterBase.cs
- IpcServerChannel.cs
- TransactedReceiveData.cs
- DataGridViewButtonCell.cs
- ScriptDescriptor.cs
- MessageRpc.cs
- ListViewDeleteEventArgs.cs
- RealProxy.cs
- PointF.cs
- DataRecordInternal.cs
- StyleReferenceConverter.cs
- NullableBoolConverter.cs
- sqlpipe.cs
- ToolStripSplitButton.cs
- BulletedList.cs
- Deflater.cs
- WindowsAuthenticationEventArgs.cs
- InstanceData.cs
- GridViewAutomationPeer.cs
- GenericsInstances.cs
- StringToken.cs
- DataRowCollection.cs
- CacheChildrenQuery.cs
- DataGridViewButtonCell.cs
- ActivityTypeCodeDomSerializer.cs
- HebrewNumber.cs
- ToolStripMenuItem.cs
- StyleCollection.cs
- WCFServiceClientProxyGenerator.cs
- FilterQuery.cs
- LicenseException.cs
- ObjectViewEntityCollectionData.cs
- ManifestBasedResourceGroveler.cs
- DiscoveryViaBehavior.cs
- mansign.cs
- BuildManager.cs
- MetadataItem.cs
- RecognitionEventArgs.cs
- WSTrustDec2005.cs
- MenuAutomationPeer.cs
- DataPagerCommandEventArgs.cs
- FrameworkTextComposition.cs
- SchemaMerger.cs
- XmlEventCache.cs
- ControlPropertyNameConverter.cs
- MSG.cs
- DesignTimeParseData.cs
- Part.cs
- _SSPIWrapper.cs
- CapabilitiesUse.cs
- Column.cs
- PageAsyncTaskManager.cs
- SrgsSubset.cs
- LinearGradientBrush.cs
- AssociationSet.cs
- ConnectionManagementElement.cs
- OleDbDataAdapter.cs
- RegistrySecurity.cs
- DataBindingExpressionBuilder.cs
- XmlElementAttributes.cs
- OdbcTransaction.cs
- TraversalRequest.cs
- XmlCustomFormatter.cs
- _SafeNetHandles.cs
- UriTemplateHelpers.cs
- PiiTraceSource.cs
- XmlCustomFormatter.cs
- LoginCancelEventArgs.cs
- ExpressionPrinter.cs
- FtpCachePolicyElement.cs
- ProxyWebPart.cs
- ClientSponsor.cs