Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- UpdateCommandGenerator.cs
- RegularExpressionValidator.cs
- RubberbandSelector.cs
- SystemSounds.cs
- SiteMapDataSourceDesigner.cs
- KeysConverter.cs
- ProcessHost.cs
- ProxyGenerator.cs
- RemoveStoryboard.cs
- ProfileManager.cs
- GridViewUpdateEventArgs.cs
- XmlSchemaProviderAttribute.cs
- TextElementAutomationPeer.cs
- XmlElementAttributes.cs
- PersistChildrenAttribute.cs
- documentsequencetextcontainer.cs
- Parameter.cs
- _SSPISessionCache.cs
- DataGridPagerStyle.cs
- _NegotiateClient.cs
- TraceSection.cs
- Faults.cs
- SamlAssertionKeyIdentifierClause.cs
- PartialCachingAttribute.cs
- WebPartConnectionCollection.cs
- ErrorReporting.cs
- Compiler.cs
- CheckBoxAutomationPeer.cs
- SettingsPropertyNotFoundException.cs
- EnumMemberAttribute.cs
- ButtonChrome.cs
- SizeConverter.cs
- XmlValueConverter.cs
- WindowsSolidBrush.cs
- InternalControlCollection.cs
- ColorAnimation.cs
- DefaultBinder.cs
- InvalidateEvent.cs
- HtmlInputPassword.cs
- DesignerSerializationVisibilityAttribute.cs
- SupportingTokenSpecification.cs
- NativeObjectSecurity.cs
- TextEffectCollection.cs
- SafePEFileHandle.cs
- XamlParser.cs
- JsonWriterDelegator.cs
- SQLBoolean.cs
- GridViewUpdatedEventArgs.cs
- FixedDocumentSequencePaginator.cs
- OracleRowUpdatingEventArgs.cs
- Cursors.cs
- Number.cs
- BamlReader.cs
- WmlPhoneCallAdapter.cs
- CleanUpVirtualizedItemEventArgs.cs
- Pair.cs
- PrimitiveCodeDomSerializer.cs
- WindowsHyperlink.cs
- COM2EnumConverter.cs
- StrongNamePublicKeyBlob.cs
- CustomErrorsSection.cs
- CharacterHit.cs
- ToolBarOverflowPanel.cs
- CalendarBlackoutDatesCollection.cs
- IpcManager.cs
- CheckedPointers.cs
- ApplicationManager.cs
- HatchBrush.cs
- BoundPropertyEntry.cs
- FormViewModeEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- AssertUtility.cs
- PeerNameRecordCollection.cs
- FilteredDataSetHelper.cs
- OdbcEnvironmentHandle.cs
- ValueType.cs
- LinkUtilities.cs
- DigitShape.cs
- XmlNamespaceMappingCollection.cs
- EntryIndex.cs
- ContentValidator.cs
- WebPartEditorOkVerb.cs
- ToolStripItemCollection.cs
- safelinkcollection.cs
- HtmlSelectionListAdapter.cs
- TimeManager.cs
- XappLauncher.cs
- PersonalizationEntry.cs
- KoreanLunisolarCalendar.cs
- XmlElementList.cs
- Formatter.cs
- DataGridViewAccessibleObject.cs
- SqlInternalConnectionTds.cs
- odbcmetadatafactory.cs
- SqlBuffer.cs
- RtfToXamlLexer.cs
- SecureConversationServiceElement.cs
- Point3DCollectionConverter.cs
- EntityViewContainer.cs
- SecurityTokenReferenceStyle.cs