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
- SHA384Managed.cs
- FileLoadException.cs
- BitmapSizeOptions.cs
- MetadataStore.cs
- EventsTab.cs
- DefaultHttpHandler.cs
- CachedFontFace.cs
- Permission.cs
- isolationinterop.cs
- DataGrid.cs
- DataGridViewIntLinkedList.cs
- HandledMouseEvent.cs
- MobileListItem.cs
- CodeBlockBuilder.cs
- HttpListenerException.cs
- PrtCap_Base.cs
- AnimationClock.cs
- versioninfo.cs
- OfTypeExpression.cs
- DataTableMappingCollection.cs
- TextElementAutomationPeer.cs
- TouchesCapturedWithinProperty.cs
- BitmapInitialize.cs
- UserValidatedEventArgs.cs
- Int64Converter.cs
- HtmlInputHidden.cs
- CodeTypeParameter.cs
- EventLogger.cs
- ListItemsCollectionEditor.cs
- ClosableStream.cs
- StringKeyFrameCollection.cs
- SymbolType.cs
- HtmlEncodedRawTextWriter.cs
- DataGridPreparingCellForEditEventArgs.cs
- __ConsoleStream.cs
- PictureBox.cs
- KeyValuePair.cs
- ObjectConverter.cs
- DataServiceResponse.cs
- DesignSurfaceManager.cs
- SessionStateUtil.cs
- ComponentResourceManager.cs
- ShapeTypeface.cs
- LabelEditEvent.cs
- ConfigurationSectionCollection.cs
- BaseParser.cs
- WebDescriptionAttribute.cs
- TrackingCondition.cs
- RestClientProxyHandler.cs
- SQLDateTimeStorage.cs
- Inflater.cs
- ReachDocumentReferenceSerializer.cs
- ClonableStack.cs
- TreeViewImageKeyConverter.cs
- BinaryFormatterWriter.cs
- RenamedEventArgs.cs
- FixUp.cs
- BuildResultCache.cs
- SqlXmlStorage.cs
- FrugalMap.cs
- ErrorStyle.cs
- Page.cs
- _ContextAwareResult.cs
- AsyncOperationManager.cs
- _HTTPDateParse.cs
- ComboBox.cs
- EntitySqlQueryCacheKey.cs
- TreeView.cs
- FloatUtil.cs
- LocatorManager.cs
- RangeEnumerable.cs
- Focus.cs
- Decorator.cs
- Model3DGroup.cs
- SessionIDManager.cs
- DataGridViewColumn.cs
- SiteMapNodeItemEventArgs.cs
- TextTreeUndoUnit.cs
- GcHandle.cs
- PageAsyncTask.cs
- ListView.cs
- AutomationProperties.cs
- UpdatePanelControlTrigger.cs
- StateRuntime.cs
- AutomationElementCollection.cs
- StateMachineTimers.cs
- BasicSecurityProfileVersion.cs
- TypeProvider.cs
- StatusBarPanel.cs
- EdmSchemaAttribute.cs
- MobileCategoryAttribute.cs
- Documentation.cs
- ContractBase.cs
- ChameleonKey.cs
- RotateTransform3D.cs
- EdgeModeValidation.cs
- EdmSchemaError.cs
- UInt16Converter.cs
- WorkflowApplicationAbortedException.cs
- HandlerBase.cs