Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DataListCommandEventArgs.cs / 1 / DataListCommandEventArgs.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 DataListCommandEventArgs : CommandEventArgs { private DataListItem item; private object commandSource; ///Provides data for the ///event of a . /// /// public DataListCommandEventArgs(DataListItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; this.commandSource = commandSource; } ///Initializes a new instance of the ///class. /// public DataListItem Item { get { return item; } } ///Gets the selected item in the ///. /// public object CommandSource { get { return commandSource; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Gets the source of the command. ///// 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 DataListCommandEventArgs : CommandEventArgs { private DataListItem item; private object commandSource; ///Provides data for the ///event of a . /// /// public DataListCommandEventArgs(DataListItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { this.item = item; this.commandSource = commandSource; } ///Initializes a new instance of the ///class. /// public DataListItem Item { get { return item; } } ///Gets the selected item in the ///. /// public object CommandSource { get { return commandSource; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Gets the source of the command. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BufferModeSettings.cs
- TransformGroup.cs
- IgnoreFileBuildProvider.cs
- DesignerValidationSummaryAdapter.cs
- Parser.cs
- OleDbPermission.cs
- ObjectStorage.cs
- FrameworkElementFactoryMarkupObject.cs
- MediaContextNotificationWindow.cs
- HandleCollector.cs
- ValidationHelpers.cs
- TemplateControlParser.cs
- AbstractSvcMapFileLoader.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- WindowsListViewGroupHelper.cs
- Enum.cs
- ComNativeDescriptor.cs
- SystemNetworkInterface.cs
- TextParentUndoUnit.cs
- RegexRunnerFactory.cs
- WeakReference.cs
- GetTokenRequest.cs
- RectangleConverter.cs
- BamlLocalizabilityResolver.cs
- XmlObjectSerializerReadContext.cs
- TemplatedWizardStep.cs
- MsmqTransportBindingElement.cs
- DateTime.cs
- WindowsGraphics.cs
- NetworkCredential.cs
- BinaryUtilClasses.cs
- XXXOnTypeBuilderInstantiation.cs
- DecimalConverter.cs
- LinkAreaEditor.cs
- X509InitiatorCertificateClientElement.cs
- XhtmlConformanceSection.cs
- QilGeneratorEnv.cs
- _NtlmClient.cs
- ExecutionEngineException.cs
- EdmSchemaError.cs
- WebReference.cs
- XmlAttributeProperties.cs
- UInt16.cs
- Subtree.cs
- ProviderCommandInfoUtils.cs
- IgnoreSectionHandler.cs
- TemplateBindingExpressionConverter.cs
- Vector3DAnimationUsingKeyFrames.cs
- CommandExpr.cs
- KeyFrames.cs
- BamlRecordReader.cs
- EventPropertyMap.cs
- HtmlFormWrapper.cs
- DialogResultConverter.cs
- XmlReader.cs
- XmlEntity.cs
- SqlCommandBuilder.cs
- RegexInterpreter.cs
- SecurityDocument.cs
- UnionExpr.cs
- CustomTypeDescriptor.cs
- MSAANativeProvider.cs
- Converter.cs
- ExpressionVisitor.cs
- LicenseManager.cs
- DeviceFiltersSection.cs
- HashRepartitionEnumerator.cs
- EntityContainerEmitter.cs
- WindowsTooltip.cs
- UIntPtr.cs
- DeploymentSection.cs
- Point3DAnimation.cs
- Timer.cs
- AssemblyCollection.cs
- MulticastIPAddressInformationCollection.cs
- SHA512Managed.cs
- SqlDataSourceCache.cs
- XNameConverter.cs
- FloaterParagraph.cs
- WinEventHandler.cs
- DataGridViewComboBoxCell.cs
- UrlMappingsModule.cs
- DiscoveryInnerClientAdhocCD1.cs
- MatrixStack.cs
- PasswordBoxAutomationPeer.cs
- WorkflowMessageEventHandler.cs
- Paragraph.cs
- EdmScalarPropertyAttribute.cs
- SafeArrayRankMismatchException.cs
- ResolveCriteriaCD1.cs
- KeyGesture.cs
- ObfuscationAttribute.cs
- FontStyles.cs
- shaperfactoryquerycachekey.cs
- ImportContext.cs
- DatePickerAutomationPeer.cs
- HttpListenerResponse.cs
- Cursor.cs
- assertwrapper.cs
- GestureRecognizer.cs