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
- ProcessHostConfigUtils.cs
- CodeTypeReferenceExpression.cs
- Style.cs
- WebHeaderCollection.cs
- SendMailErrorEventArgs.cs
- ValidatingReaderNodeData.cs
- PointLight.cs
- Material.cs
- QueryOperator.cs
- CodeTypeMemberCollection.cs
- KeyboardDevice.cs
- XmlTextReaderImpl.cs
- BindingSource.cs
- TypedTableBase.cs
- DesignerListAdapter.cs
- AttachmentCollection.cs
- X509ThumbprintKeyIdentifierClause.cs
- dsa.cs
- ScriptingProfileServiceSection.cs
- InputMethod.cs
- DataColumnMapping.cs
- SocketPermission.cs
- ControlCodeDomSerializer.cs
- Pair.cs
- BamlCollectionHolder.cs
- TextBlockAutomationPeer.cs
- TemplateBindingExtension.cs
- _NegoState.cs
- OdbcFactory.cs
- ClientSponsor.cs
- CompensableActivity.cs
- COM2Properties.cs
- ProtectedConfigurationSection.cs
- SystemWebCachingSectionGroup.cs
- ContextMenuStrip.cs
- SimpleHandlerBuildProvider.cs
- TableCellCollection.cs
- SqlCommand.cs
- ErrorTableItemStyle.cs
- FormViewPageEventArgs.cs
- Model3DGroup.cs
- Math.cs
- QuotedPrintableStream.cs
- FilePresentation.cs
- Grant.cs
- LogLogRecordEnumerator.cs
- HttpCachePolicyBase.cs
- DebugView.cs
- StateValidator.cs
- CacheMode.cs
- X509LogoTypeExtension.cs
- OleCmdHelper.cs
- GenericWebPart.cs
- DataGridCommandEventArgs.cs
- FormsAuthenticationUser.cs
- AttributeCollection.cs
- SimpleTextLine.cs
- TextTreeUndoUnit.cs
- ProbeMatches11.cs
- NavigationHelper.cs
- ObjectQueryProvider.cs
- AssemblyInfo.cs
- __Filters.cs
- SqlMethodCallConverter.cs
- XmlNodeWriter.cs
- DefaultBinder.cs
- ListDictionaryInternal.cs
- TemplatedMailWebEventProvider.cs
- PersonalizationStateInfoCollection.cs
- ButtonPopupAdapter.cs
- EntityContainer.cs
- PersonalizationDictionary.cs
- StringFormat.cs
- RuleSetCollection.cs
- HtmlUtf8RawTextWriter.cs
- DefaultBindingPropertyAttribute.cs
- WaitHandle.cs
- TextProperties.cs
- RefExpr.cs
- ButtonColumn.cs
- StrokeCollection2.cs
- CubicEase.cs
- ISO2022Encoding.cs
- DirectionalLight.cs
- SelectionPattern.cs
- DocumentViewerConstants.cs
- BooleanSwitch.cs
- Configuration.cs
- WindowsGraphicsCacheManager.cs
- AlgoModule.cs
- WorkflowInstance.cs
- PublishLicense.cs
- TextBoxBase.cs
- InternalEnumValidator.cs
- ExpressionBuilder.cs
- DataGridViewRowPrePaintEventArgs.cs
- SelectionList.cs
- unsafenativemethodstextservices.cs
- WebSysDefaultValueAttribute.cs
- RawAppCommandInputReport.cs