Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- EmptyEnumerator.cs
- DataBindingCollection.cs
- ReadOnlyDictionary.cs
- CacheSection.cs
- ExpressionStringBuilder.cs
- DataSourceSelectArguments.cs
- Annotation.cs
- ListView.cs
- Context.cs
- ProfilePropertySettingsCollection.cs
- TypeGeneratedEventArgs.cs
- AutomationPropertyInfo.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SparseMemoryStream.cs
- DecimalConverter.cs
- SystemGatewayIPAddressInformation.cs
- ObjectItemConventionAssemblyLoader.cs
- DecimalStorage.cs
- COM2IPerPropertyBrowsingHandler.cs
- AttributeQuery.cs
- Regex.cs
- NetworkCredential.cs
- SubqueryTrackingVisitor.cs
- Int16Animation.cs
- PartialArray.cs
- RoleGroupCollectionEditor.cs
- SqlPersonalizationProvider.cs
- AnnotationAuthorChangedEventArgs.cs
- Registry.cs
- CompilerTypeWithParams.cs
- SpanIndex.cs
- DataGridColumnHeadersPresenter.cs
- ListMarkerSourceInfo.cs
- OrderedHashRepartitionEnumerator.cs
- SeparatorAutomationPeer.cs
- HtmlInputReset.cs
- MembershipSection.cs
- _UncName.cs
- RSAPKCS1SignatureFormatter.cs
- COM2ColorConverter.cs
- MexHttpsBindingCollectionElement.cs
- EmptyStringExpandableObjectConverter.cs
- EpmAttributeNameBuilder.cs
- EntityDataSourceStatementEditor.cs
- InstanceDataCollectionCollection.cs
- XmlDataImplementation.cs
- DbQueryCommandTree.cs
- TextOutput.cs
- DataRecord.cs
- CollectionView.cs
- ZipArchive.cs
- IERequestCache.cs
- ProcessHost.cs
- DataSourceCache.cs
- DesignerLoader.cs
- AsynchronousChannelMergeEnumerator.cs
- streamingZipPartStream.cs
- CompiledELinqQueryState.cs
- ProxyWebPart.cs
- CaseInsensitiveComparer.cs
- MenuAdapter.cs
- TypedReference.cs
- ConfigurationManagerHelper.cs
- DataGrid.cs
- DesignerView.cs
- Model3D.cs
- FontSourceCollection.cs
- ToggleButton.cs
- UserControl.cs
- XmlHierarchicalEnumerable.cs
- ExpandedWrapper.cs
- UIElementParaClient.cs
- PipeSecurity.cs
- CodeTypeReference.cs
- WebRequestModuleElementCollection.cs
- DeclaredTypeValidator.cs
- LinkClickEvent.cs
- EmbeddedMailObject.cs
- TextSelectionHelper.cs
- Bits.cs
- ImpersonateTokenRef.cs
- OrderedParallelQuery.cs
- UIInitializationException.cs
- ResourceProviderFactory.cs
- FixedSOMTable.cs
- BindingContext.cs
- CapabilitiesPattern.cs
- ObjectRef.cs
- TableLayoutSettingsTypeConverter.cs
- KeyFrames.cs
- ListControl.cs
- Encoder.cs
- SQLMoney.cs
- PermissionRequestEvidence.cs
- StylusPointPropertyId.cs
- InitializationEventAttribute.cs
- EntityContainer.cs
- SimpleBitVector32.cs
- WebPartChrome.cs
- ListItemViewControl.cs