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
- ParameterBinding.cs
- Model3DGroup.cs
- XmlSchemaObjectCollection.cs
- IntellisenseTextBox.designer.cs
- EntitySqlQueryBuilder.cs
- BoundingRectTracker.cs
- DocumentGridPage.cs
- OdbcDataReader.cs
- Slider.cs
- TabPage.cs
- XmlLinkedNode.cs
- DataObjectAttribute.cs
- ResourceReferenceExpression.cs
- ConstrainedDataObject.cs
- ToggleButton.cs
- SqlNotificationRequest.cs
- SecurityListenerSettingsLifetimeManager.cs
- DataBindingCollection.cs
- BitmapEffect.cs
- ExceptionUtil.cs
- UnsettableComboBox.cs
- MailDefinition.cs
- List.cs
- ToolStripPanelSelectionGlyph.cs
- ValidationRuleCollection.cs
- StorageInfo.cs
- WebPartZone.cs
- WpfSharedBamlSchemaContext.cs
- DataGridColumn.cs
- RuntimeVariablesExpression.cs
- ToolStripItemImageRenderEventArgs.cs
- LOSFormatter.cs
- DataViewSetting.cs
- SimpleFileLog.cs
- SplitterEvent.cs
- OrderingExpression.cs
- SqlConnectionPoolProviderInfo.cs
- DbConnectionFactory.cs
- SnapLine.cs
- Bits.cs
- SchemaNamespaceManager.cs
- WriteStateInfoBase.cs
- DataBoundControl.cs
- RemotingConfiguration.cs
- DateTimeUtil.cs
- ProgressBarHighlightConverter.cs
- CompoundFileDeflateTransform.cs
- SocketPermission.cs
- smtppermission.cs
- EventArgs.cs
- Int32RectConverter.cs
- CheckBoxRenderer.cs
- SoapFormatter.cs
- VarRemapper.cs
- Component.cs
- BreakRecordTable.cs
- HtmlShimManager.cs
- BufferedGraphics.cs
- WeakReferenceEnumerator.cs
- DataGridColumnStyleMappingNameEditor.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- TagMapInfo.cs
- WebConfigurationFileMap.cs
- ElementNotAvailableException.cs
- DataObjectSettingDataEventArgs.cs
- SchemaCollectionCompiler.cs
- ProcessStartInfo.cs
- WebUtil.cs
- CursorConverter.cs
- DashStyle.cs
- Condition.cs
- MarginsConverter.cs
- AppDomainShutdownMonitor.cs
- DataViewManager.cs
- Utils.cs
- Substitution.cs
- DataSourceCollectionBase.cs
- PtsCache.cs
- DefaultPrintController.cs
- UriSection.cs
- BindableTemplateBuilder.cs
- StateDesigner.CommentLayoutGlyph.cs
- DBCommandBuilder.cs
- ReadWriteSpinLock.cs
- AssemblyCollection.cs
- InfoCardConstants.cs
- Debug.cs
- StandardToolWindows.cs
- KnowledgeBase.cs
- XsltQilFactory.cs
- PersonalizationStateQuery.cs
- PeerObject.cs
- VerificationException.cs
- ProviderUtil.cs
- ParenExpr.cs
- AuthenticateEventArgs.cs
- DataGridViewRowPrePaintEventArgs.cs
- TextWriterTraceListener.cs
- MarkupCompilePass2.cs
- FontStretches.cs