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
- WindowHideOrCloseTracker.cs
- WebCategoryAttribute.cs
- FormsIdentity.cs
- TabItemWrapperAutomationPeer.cs
- DataControlFieldCell.cs
- PolicyUnit.cs
- COM2IPerPropertyBrowsingHandler.cs
- processwaithandle.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- AppSettingsExpressionBuilder.cs
- BindingRestrictions.cs
- AutoCompleteStringCollection.cs
- WebServiceFaultDesigner.cs
- CorrelationHandle.cs
- RelationalExpressions.cs
- RowToFieldTransformer.cs
- EntityDataSourceEntitySetNameItem.cs
- DeclaredTypeValidator.cs
- Point3D.cs
- Config.cs
- SByte.cs
- ToolboxService.cs
- XmlText.cs
- Formatter.cs
- ObjectParameter.cs
- ToolStripSplitButton.cs
- RequiredAttributeAttribute.cs
- WSDualHttpSecurity.cs
- HttpStreams.cs
- ControlsConfig.cs
- CheckBoxStandardAdapter.cs
- pingexception.cs
- entityreference_tresulttype.cs
- ComponentEditorForm.cs
- RadioButtonPopupAdapter.cs
- HandleValueEditor.cs
- SqlInternalConnectionTds.cs
- dataprotectionpermission.cs
- SwitchDesigner.xaml.cs
- XmlElementAttributes.cs
- EntityViewGenerationAttribute.cs
- KeyConverter.cs
- DataGridViewDataConnection.cs
- Version.cs
- DeferredReference.cs
- Int64Storage.cs
- TableLayoutColumnStyleCollection.cs
- ObjectTypeMapping.cs
- IntSecurity.cs
- TickBar.cs
- HwndSourceParameters.cs
- UnsafeNativeMethods.cs
- MemberInfoSerializationHolder.cs
- InvalidPropValue.cs
- SqlMetaData.cs
- ArrayExtension.cs
- BrowserDefinition.cs
- AsyncPostBackTrigger.cs
- shaperfactory.cs
- StreamInfo.cs
- Baml2006ReaderContext.cs
- EventItfInfo.cs
- EventLogPermission.cs
- QilSortKey.cs
- safesecurityhelperavalon.cs
- RegexCompilationInfo.cs
- GlobalizationAssembly.cs
- ExtractorMetadata.cs
- AppSettingsExpressionEditor.cs
- SiteMapDataSourceView.cs
- SrgsElementFactory.cs
- WindowsBrush.cs
- NonBatchDirectoryCompiler.cs
- XmlSchemaException.cs
- MulticastOption.cs
- DataSourceNameHandler.cs
- DoubleAnimation.cs
- DataDocumentXPathNavigator.cs
- ResourceProviderFactory.cs
- RoleService.cs
- WorkflowInstanceProvider.cs
- ResolveDuplex11AsyncResult.cs
- Wildcard.cs
- DynamicMethod.cs
- ListView.cs
- VectorCollection.cs
- ImageBrush.cs
- WebResourceUtil.cs
- PropertyEmitter.cs
- WebPartDisplayModeCancelEventArgs.cs
- DynamicQueryableWrapper.cs
- FormsAuthenticationCredentials.cs
- XPathScanner.cs
- HostProtectionPermission.cs
- Visual3DCollection.cs
- ListControl.cs
- AutomationPropertyInfo.cs
- RuleInfoComparer.cs
- InArgumentConverter.cs
- AutomationElement.cs