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
- GetPageNumberCompletedEventArgs.cs
- ReadOnlyDictionary.cs
- QilTypeChecker.cs
- ExtractedStateEntry.cs
- XmlAttributeProperties.cs
- BufferBuilder.cs
- EntityDataSourceUtil.cs
- CriticalFinalizerObject.cs
- ObjectDisposedException.cs
- AccessibleObject.cs
- MasterPageBuildProvider.cs
- OleDbRowUpdatingEvent.cs
- DiscardableAttribute.cs
- ReflectionHelper.cs
- BasicHttpBindingElement.cs
- Rect3DConverter.cs
- MeasureItemEvent.cs
- DynamicResourceExtensionConverter.cs
- SymmetricAlgorithm.cs
- MappingModelBuildProvider.cs
- Root.cs
- Decimal.cs
- IDReferencePropertyAttribute.cs
- TextTreeInsertElementUndoUnit.cs
- MimePart.cs
- Vector3DAnimationBase.cs
- IntegerValidatorAttribute.cs
- DataGridViewBand.cs
- DrawingBrush.cs
- EntityStoreSchemaGenerator.cs
- PathSegmentCollection.cs
- PasswordRecoveryDesigner.cs
- LinearGradientBrush.cs
- RefType.cs
- XmlAttributes.cs
- Model3DGroup.cs
- JsonReader.cs
- BlockUIContainer.cs
- InkCanvasInnerCanvas.cs
- DynamicMetaObjectBinder.cs
- RangeValuePatternIdentifiers.cs
- QuotedStringFormatReader.cs
- Positioning.cs
- SessionStateUtil.cs
- ChildrenQuery.cs
- RelatedImageListAttribute.cs
- DispatchWrapper.cs
- RefreshEventArgs.cs
- ThreadWorkerController.cs
- UnicodeEncoding.cs
- TransformerConfigurationWizardBase.cs
- SqlNotificationEventArgs.cs
- CodeTypeReferenceExpression.cs
- SplitContainer.cs
- ExtendedPropertyCollection.cs
- _MultipleConnectAsync.cs
- CollectionChangedEventManager.cs
- ControlParser.cs
- QualifiedId.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DbDataReader.cs
- ArgumentValueSerializer.cs
- PageCatalogPartDesigner.cs
- _SingleItemRequestCache.cs
- AvTraceDetails.cs
- UInt64Converter.cs
- GrammarBuilderWildcard.cs
- ObjectSet.cs
- DeploymentExceptionMapper.cs
- Imaging.cs
- EntityClientCacheKey.cs
- HtmlMeta.cs
- DivideByZeroException.cs
- FixedPage.cs
- DataGridView.cs
- QueryOpcode.cs
- KeyGestureConverter.cs
- SyndicationCategory.cs
- RequestCacheEntry.cs
- AsnEncodedData.cs
- ZoneButton.cs
- AccessViolationException.cs
- SqlProviderManifest.cs
- BufferBuilder.cs
- FillBehavior.cs
- WebPartManager.cs
- SQlBooleanStorage.cs
- ChtmlImageAdapter.cs
- JumpTask.cs
- IsolatedStorageFile.cs
- WpfWebRequestHelper.cs
- HostedBindingBehavior.cs
- WebUtil.cs
- CurrencyManager.cs
- CleanUpVirtualizedItemEventArgs.cs
- GlyphInfoList.cs
- DataBindingExpressionBuilder.cs
- MenuBindingsEditorForm.cs
- handlecollector.cs
- VectorAnimationBase.cs