Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AnimationClock.cs
- HtmlFormWrapper.cs
- SizeConverter.cs
- DependencyPropertyConverter.cs
- X509SecurityTokenProvider.cs
- SystemGatewayIPAddressInformation.cs
- PeerPresenceInfo.cs
- DocumentApplicationJournalEntry.cs
- Matrix3DValueSerializer.cs
- FilteredXmlReader.cs
- EpmSourcePathSegment.cs
- CodeSnippetTypeMember.cs
- XMLUtil.cs
- UmAlQuraCalendar.cs
- TextUtf8RawTextWriter.cs
- DesignerTextWriter.cs
- BuildProvidersCompiler.cs
- RSAPKCS1SignatureDeformatter.cs
- ResourceProviderFactory.cs
- SynchronizedMessageSource.cs
- InvalidOperationException.cs
- Journaling.cs
- SqlCommand.cs
- MessageSmuggler.cs
- FlowDocumentPageViewerAutomationPeer.cs
- EnterpriseServicesHelper.cs
- ObjectDataSourceSelectingEventArgs.cs
- _HeaderInfo.cs
- ObsoleteAttribute.cs
- WebScriptServiceHostFactory.cs
- UTF8Encoding.cs
- DrawListViewColumnHeaderEventArgs.cs
- HelpInfo.cs
- NavigatorInput.cs
- TextFormattingConverter.cs
- DBDataPermission.cs
- TypeToArgumentTypeConverter.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- InputProcessorProfilesLoader.cs
- LoginDesignerUtil.cs
- ConditionalDesigner.cs
- RoleBoolean.cs
- TemplateBindingExtensionConverter.cs
- Pair.cs
- _NtlmClient.cs
- Error.cs
- ReverseInheritProperty.cs
- WmlObjectListAdapter.cs
- NavigatorInput.cs
- BaseDataBoundControl.cs
- WpfXamlLoader.cs
- TabItemWrapperAutomationPeer.cs
- XmlSerializerVersionAttribute.cs
- ListViewItemSelectionChangedEvent.cs
- EventLogPermissionAttribute.cs
- SqlServices.cs
- ReadOnlyDataSource.cs
- CorrelationTokenTypeConvertor.cs
- ToolBarTray.cs
- XsdValidatingReader.cs
- TransformerConfigurationWizardBase.cs
- DataGridCellInfo.cs
- BaseAutoFormat.cs
- TimeSpanStorage.cs
- MediaCommands.cs
- UndoManager.cs
- DocumentXPathNavigator.cs
- CompiledQuery.cs
- COM2ColorConverter.cs
- PolyBezierSegmentFigureLogic.cs
- CodeConditionStatement.cs
- LinqDataSourceDeleteEventArgs.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- IsolatedStorageFilePermission.cs
- DataGridViewAdvancedBorderStyle.cs
- SystemIPGlobalProperties.cs
- ToolStripHighContrastRenderer.cs
- TransformCollection.cs
- QueryOutputWriter.cs
- PnrpPermission.cs
- DataViewManager.cs
- HuffModule.cs
- _Win32.cs
- LinkLabel.cs
- WebPartEventArgs.cs
- SecurityTokenContainer.cs
- FloaterParagraph.cs
- EmissiveMaterial.cs
- TripleDESCryptoServiceProvider.cs
- WorkflowWebService.cs
- HtmlTableCellCollection.cs
- FormsIdentity.cs
- RawStylusInputCustomDataList.cs
- Int32Rect.cs
- HelpKeywordAttribute.cs
- Root.cs
- TextBoxBase.cs
- DiagnosticTrace.cs
- Argument.cs
- OAVariantLib.cs