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
- ViewStateException.cs
- TypeConverterHelper.cs
- ValidatorCollection.cs
- XmlBindingWorker.cs
- SuppressMergeCheckAttribute.cs
- TextTreeInsertUndoUnit.cs
- MaterializeFromAtom.cs
- SubpageParagraph.cs
- AdapterDictionary.cs
- EarlyBoundInfo.cs
- OleDbPermission.cs
- GradientBrush.cs
- CodeNamespaceImportCollection.cs
- BooleanExpr.cs
- ChtmlPageAdapter.cs
- StrokeCollectionDefaultValueFactory.cs
- ProjectionAnalyzer.cs
- ConfigurationFileMap.cs
- SqlException.cs
- SqlCacheDependencyDatabaseCollection.cs
- namescope.cs
- RecognizerBase.cs
- CustomTypeDescriptor.cs
- GetIndexBinder.cs
- _NegoStream.cs
- HashSetEqualityComparer.cs
- ReceiveContext.cs
- OracleLob.cs
- UrlAuthorizationModule.cs
- BuilderPropertyEntry.cs
- EntityDataReader.cs
- PrintDocument.cs
- WindowsStreamSecurityBindingElement.cs
- SimpleLine.cs
- Update.cs
- ModuleElement.cs
- PartialToken.cs
- ContextMenuService.cs
- ClosureBinding.cs
- MetadataPropertyCollection.cs
- DetailsViewRowCollection.cs
- ExtendedPropertiesHandler.cs
- XmlCDATASection.cs
- SettingsPropertyCollection.cs
- PolyLineSegment.cs
- XmlSchemaComplexType.cs
- IArgumentProvider.cs
- TypeUtil.cs
- AuthenticationException.cs
- ToolStripItemDesigner.cs
- ObjectCacheHost.cs
- RelOps.cs
- HttpPostedFile.cs
- FontFamilyIdentifier.cs
- RemoteWebConfigurationHostServer.cs
- TextRange.cs
- Activity.cs
- Component.cs
- BooleanSwitch.cs
- AudioFormatConverter.cs
- WebEventCodes.cs
- PolicyManager.cs
- PauseStoryboard.cs
- GridViewCancelEditEventArgs.cs
- EntityDataSourceContainerNameItem.cs
- HtmlTextArea.cs
- Permission.cs
- FontConverter.cs
- DesignSurfaceManager.cs
- AppDomainFactory.cs
- PathSegmentCollection.cs
- XmlSchemaComplexContentRestriction.cs
- PagerSettings.cs
- TemplateControlCodeDomTreeGenerator.cs
- SchemaMapping.cs
- OdbcConnectionFactory.cs
- PlatformCulture.cs
- PlatformCulture.cs
- DataGridViewSelectedRowCollection.cs
- ValueProviderWrapper.cs
- ExtensibleSyndicationObject.cs
- DynamicPropertyReader.cs
- SiteMapNodeItemEventArgs.cs
- ClientSideProviderDescription.cs
- BitmapFrameEncode.cs
- DetailsViewPagerRow.cs
- ToolStripPanelRow.cs
- PrePostDescendentsWalker.cs
- AnimationStorage.cs
- SqlConnectionStringBuilder.cs
- TouchesOverProperty.cs
- TextEditorLists.cs
- Transform3DGroup.cs
- XPathSelectionIterator.cs
- MobileCapabilities.cs
- AsyncPostBackErrorEventArgs.cs
- XPathEmptyIterator.cs
- ForceCopyBuildProvider.cs
- StateWorkerRequest.cs
- WebPartsPersonalizationAuthorization.cs