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
- DLinqAssociationProvider.cs
- ZoneLinkButton.cs
- Timer.cs
- GridViewEditEventArgs.cs
- GeneratedContractType.cs
- PathHelper.cs
- CTreeGenerator.cs
- GenerateScriptTypeAttribute.cs
- Tuple.cs
- EntitySetBaseCollection.cs
- TargetParameterCountException.cs
- XmlMemberMapping.cs
- TemplatedMailWebEventProvider.cs
- AmbientEnvironment.cs
- TextModifier.cs
- VectorKeyFrameCollection.cs
- DragEvent.cs
- FunctionQuery.cs
- MultiPageTextView.cs
- AutomationPattern.cs
- SmtpNetworkElement.cs
- FindCriteriaCD1.cs
- TextEffect.cs
- HtmlShim.cs
- Visitors.cs
- ThreadStartException.cs
- COM2ExtendedBrowsingHandler.cs
- ManipulationPivot.cs
- ZoomingMessageFilter.cs
- TransportChannelFactory.cs
- ToolStripSettings.cs
- ErrorProvider.cs
- SapiGrammar.cs
- Dynamic.cs
- EntityContainerRelationshipSetEnd.cs
- AppSettingsReader.cs
- HtmlControlAdapter.cs
- CollectionConverter.cs
- ObjectDataSourceView.cs
- SchemaNamespaceManager.cs
- AmbiguousMatchException.cs
- AssemblyBuilder.cs
- ResourcesChangeInfo.cs
- DataGridCellEditEndingEventArgs.cs
- BamlRecordReader.cs
- RawStylusActions.cs
- ObjectStateEntryDbDataRecord.cs
- CurrencyWrapper.cs
- VisualCollection.cs
- Base64Stream.cs
- TransportListener.cs
- GuidConverter.cs
- ScriptManager.cs
- PagedDataSource.cs
- TablePattern.cs
- ArrayExtension.cs
- Ray3DHitTestResult.cs
- MaskDescriptors.cs
- PingOptions.cs
- TextEditorContextMenu.cs
- DeleteIndexBinder.cs
- SqlNodeAnnotation.cs
- TransformerTypeCollection.cs
- DesignerWidgets.cs
- FamilyMap.cs
- XmlSchemaSimpleType.cs
- ProgressBarBrushConverter.cs
- ObjectMaterializedEventArgs.cs
- XmlDataImplementation.cs
- DataBindingList.cs
- HeaderedItemsControl.cs
- DefaultPerformanceCounters.cs
- BaseCAMarshaler.cs
- BitmapCodecInfoInternal.cs
- DataGridRowAutomationPeer.cs
- ProcessThread.cs
- PerformanceCounterManager.cs
- WinInetCache.cs
- DbDeleteCommandTree.cs
- CatalogPartChrome.cs
- ContainerActivationHelper.cs
- AssemblyCollection.cs
- ClientScriptManager.cs
- TerminatorSinks.cs
- BaseCodeDomTreeGenerator.cs
- VectorAnimationBase.cs
- TrackingAnnotationCollection.cs
- JapaneseLunisolarCalendar.cs
- ConnectionManagementElementCollection.cs
- DeobfuscatingStream.cs
- ConfigurationElementCollection.cs
- TemplatePropertyEntry.cs
- userdatakeys.cs
- MimeWriter.cs
- Rect3D.cs
- InitializerFacet.cs
- AnnotationDocumentPaginator.cs
- SmiEventSink_Default.cs
- DependencyObject.cs
- FieldBuilder.cs