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 / 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. //------------------------------------------------------------------------------ //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.Gets the source of the command. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- recordstatefactory.cs
- DataGridToolTip.cs
- XmlAttributeOverrides.cs
- DBSchemaTable.cs
- Lease.cs
- ListDictionary.cs
- QueryResponse.cs
- JavaScriptSerializer.cs
- __TransparentProxy.cs
- WorkflowExecutor.cs
- BrowserDefinition.cs
- CodeExpressionRuleDeclaration.cs
- SchemaDeclBase.cs
- IgnoreFlushAndCloseStream.cs
- ConnectionManagementElement.cs
- StrokeDescriptor.cs
- DataBindingCollection.cs
- MostlySingletonList.cs
- MaskInputRejectedEventArgs.cs
- PointIndependentAnimationStorage.cs
- WebConfigurationHost.cs
- TextTabProperties.cs
- DataStreams.cs
- DataTableReaderListener.cs
- Scene3D.cs
- EntityDataSourceChangedEventArgs.cs
- ImageClickEventArgs.cs
- BinaryMessageFormatter.cs
- BuildProviderUtils.cs
- PkcsUtils.cs
- METAHEADER.cs
- HtmlTitle.cs
- ColumnReorderedEventArgs.cs
- DesignTimeValidationFeature.cs
- ObjectTokenCategory.cs
- WebPartAddingEventArgs.cs
- Composition.cs
- WindowsButton.cs
- XamlNamespaceHelper.cs
- BitmapCodecInfoInternal.cs
- ObjectListCommandEventArgs.cs
- TranslateTransform3D.cs
- SvcMapFileSerializer.cs
- ScriptRegistrationManager.cs
- DataGridViewRowCancelEventArgs.cs
- ReadOnlyCollection.cs
- ImageInfo.cs
- PerCallInstanceContextProvider.cs
- StringSource.cs
- FillErrorEventArgs.cs
- ZoneButton.cs
- SoapFaultCodes.cs
- ITextView.cs
- ConsumerConnectionPointCollection.cs
- TokenizerHelper.cs
- OptimizedTemplateContentHelper.cs
- RandomNumberGenerator.cs
- ReverseQueryOperator.cs
- TableFieldsEditor.cs
- DataBoundControlHelper.cs
- XNodeValidator.cs
- SynchronizedInputHelper.cs
- PolicyFactory.cs
- PasswordRecovery.cs
- InputMethodStateTypeInfo.cs
- DataControlFieldHeaderCell.cs
- FragmentQuery.cs
- DataControlButton.cs
- DataReaderContainer.cs
- FieldMetadata.cs
- HttpClientCertificate.cs
- CodeTypeDeclarationCollection.cs
- UriTemplatePathSegment.cs
- CodeSubDirectory.cs
- ApplicationDirectoryMembershipCondition.cs
- AuthenticationService.cs
- LocalizedNameDescriptionPair.cs
- HttpDictionary.cs
- SecureEnvironment.cs
- CodeExporter.cs
- SourceElementsCollection.cs
- RegexRunner.cs
- SystemColors.cs
- ProcessModelSection.cs
- ColorPalette.cs
- MetadataItemSerializer.cs
- DataGridViewDataErrorEventArgs.cs
- FormCollection.cs
- MatrixStack.cs
- PlatformCulture.cs
- ProfilePropertySettings.cs
- WebControlAdapter.cs
- SqlTypeSystemProvider.cs
- WindowsListViewSubItem.cs
- DelegateTypeInfo.cs
- StubHelpers.cs
- BitmapEffectOutputConnector.cs
- ContractComponent.cs
- MembershipPasswordException.cs
- XmlAutoDetectWriter.cs