Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- AutomationProperty.cs
- DataMemberAttribute.cs
- ControlIdConverter.cs
- XsltException.cs
- TextSchema.cs
- GradientBrush.cs
- EntityRecordInfo.cs
- AutomationFocusChangedEventArgs.cs
- SqlResolver.cs
- VisualStyleTypesAndProperties.cs
- MetadataPropertyCollection.cs
- PriorityBindingExpression.cs
- CaseCqlBlock.cs
- MetadataUtilsSmi.cs
- RadioButtonDesigner.cs
- DecoderReplacementFallback.cs
- SettingsPropertyWrongTypeException.cs
- ListenerElementsCollection.cs
- Profiler.cs
- HtmlTitle.cs
- Attribute.cs
- NegotiationTokenAuthenticator.cs
- InternalSendMessage.cs
- CodeDirectoryCompiler.cs
- RIPEMD160Managed.cs
- SmiEventSink_Default.cs
- SessionPageStatePersister.cs
- DataGridBoolColumn.cs
- TextCompositionEventArgs.cs
- XmlRootAttribute.cs
- WindowsScrollBar.cs
- ADConnectionHelper.cs
- StringUtil.cs
- Soap.cs
- OneWayBindingElement.cs
- NameValueConfigurationCollection.cs
- WebUtility.cs
- StreamSecurityUpgradeProvider.cs
- WindowsTreeView.cs
- KeyFrames.cs
- SqlDuplicator.cs
- BaseDataList.cs
- ActivityInterfaces.cs
- ConfigDefinitionUpdates.cs
- ValueExpressions.cs
- BindToObject.cs
- HttpCacheParams.cs
- Attributes.cs
- ExpressionBuilder.cs
- LazyLoadBehavior.cs
- ObjectDataSourceDisposingEventArgs.cs
- SqlDataSourceQueryConverter.cs
- ThreadStaticAttribute.cs
- StructuredCompositeActivityDesigner.cs
- HtmlPhoneCallAdapter.cs
- PointAnimationUsingKeyFrames.cs
- COM2ColorConverter.cs
- SmtpClient.cs
- MimeFormReflector.cs
- StringArrayEditor.cs
- Pen.cs
- Wildcard.cs
- MimeXmlReflector.cs
- EventKeyword.cs
- StaticResourceExtension.cs
- ControlDesigner.cs
- AdornerLayer.cs
- TypeConverterAttribute.cs
- FileSecurity.cs
- DoubleKeyFrameCollection.cs
- HandlerMappingMemo.cs
- MetaModel.cs
- X509Utils.cs
- PrintPreviewGraphics.cs
- MSG.cs
- FrameworkContextData.cs
- XmlSchemaSimpleContentRestriction.cs
- ViewGenerator.cs
- PropertyValidationContext.cs
- Label.cs
- TransformGroup.cs
- CodeCastExpression.cs
- Compiler.cs
- XmlCharCheckingWriter.cs
- OutputCacheSection.cs
- MTConfigUtil.cs
- XmlSerializableWriter.cs
- SafeLocalMemHandle.cs
- HttpsChannelFactory.cs
- ProxyElement.cs
- WindowsTab.cs
- WeakEventManager.cs
- CompositeTypefaceMetrics.cs
- OutputScopeManager.cs
- Rotation3DAnimationBase.cs
- ExponentialEase.cs
- PolyQuadraticBezierSegment.cs
- DataGridColumn.cs
- wpf-etw.cs
- ConnectionPoint.cs