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
- HMACRIPEMD160.cs
- StrokeCollectionDefaultValueFactory.cs
- PlatformCulture.cs
- SortedSetDebugView.cs
- XmlImplementation.cs
- XmlUTF8TextReader.cs
- CodeTypeParameterCollection.cs
- VirtualizingPanel.cs
- FastPropertyAccessor.cs
- DisplayInformation.cs
- Operator.cs
- SortKey.cs
- SHA1.cs
- NewArrayExpression.cs
- WindowsListViewGroupHelper.cs
- StylusDownEventArgs.cs
- ColumnWidthChangingEvent.cs
- ApplicationServicesHostFactory.cs
- Style.cs
- RsaKeyGen.cs
- CachedPathData.cs
- AddInProcess.cs
- KoreanLunisolarCalendar.cs
- TemplateControlBuildProvider.cs
- HierarchicalDataTemplate.cs
- StringFreezingAttribute.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- QueryResults.cs
- WindowsRegion.cs
- RightsManagementPermission.cs
- BCLDebug.cs
- RegexCapture.cs
- SortedDictionary.cs
- XmlQueryContext.cs
- Label.cs
- listviewsubitemcollectioneditor.cs
- StrokeNodeData.cs
- TextElementEnumerator.cs
- SliderAutomationPeer.cs
- safemediahandle.cs
- RelatedCurrencyManager.cs
- ArrayElementGridEntry.cs
- BitmapEffectDrawing.cs
- BitmapEffectInput.cs
- Opcode.cs
- validationstate.cs
- ECDiffieHellmanPublicKey.cs
- HexParser.cs
- XmlUtil.cs
- RegexStringValidator.cs
- TextCompositionEventArgs.cs
- FontStyles.cs
- dataprotectionpermission.cs
- MeshGeometry3D.cs
- DockingAttribute.cs
- ToolStripMenuItem.cs
- Root.cs
- Color.cs
- RelationshipEndCollection.cs
- SourceLineInfo.cs
- SortDescription.cs
- MemberPathMap.cs
- SelectingProviderEventArgs.cs
- Point4DValueSerializer.cs
- CleanUpVirtualizedItemEventArgs.cs
- StringInfo.cs
- TrustLevelCollection.cs
- GeometryDrawing.cs
- WebPartConnectionsCancelEventArgs.cs
- WeakEventManager.cs
- X509SecurityToken.cs
- DeferredTextReference.cs
- XamlTypeMapperSchemaContext.cs
- XamlSerializerUtil.cs
- OdbcConnectionHandle.cs
- OleDbReferenceCollection.cs
- ZipIOBlockManager.cs
- Convert.cs
- StringBuilder.cs
- SByteConverter.cs
- XmlSchemaComplexContentRestriction.cs
- AutomationElementCollection.cs
- ConnectionInterfaceCollection.cs
- SecurityTokenInclusionMode.cs
- HtmlInputImage.cs
- Canvas.cs
- ElementFactory.cs
- KeyGestureValueSerializer.cs
- AspNetSynchronizationContext.cs
- XPathScanner.cs
- XmlSchemaObjectTable.cs
- RuntimeConfigurationRecord.cs
- MetadataPropertyCollection.cs
- DataKeyCollection.cs
- Scripts.cs
- FragmentQuery.cs
- Themes.cs
- SurrogateSelector.cs
- MergablePropertyAttribute.cs
- Debug.cs