Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewDeleteEventArgs.cs / 1 / DetailsViewDeleteEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Initializes a new instance of the ////// class. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a keyed list to populate with old row values. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewDeleteEventArgs : CancelEventArgs { private int _rowIndex; private OrderedDictionary _keys; private OrderedDictionary _values; ///Provides data for some ///events. /// public DetailsViewDeleteEventArgs(int rowIndex) : base(false) { this._rowIndex = rowIndex; } public int RowIndex { get { return _rowIndex; } } ///Initializes a new instance of the ////// class. /// public IOrderedDictionary Keys { get { if (_keys == null) { _keys = new OrderedDictionary(); } return _keys; } } ///Gets a keyed list to populate with parameters that identify the row to delete. This property is read-only. ////// public IOrderedDictionary Values { get { if (_values == null) { _values = new OrderedDictionary(); } return _values; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a keyed list to populate with old row values. This property is read-only. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowHideOrCloseTracker.cs
- LogRecordSequence.cs
- ForeignKeyFactory.cs
- Soap12FormatExtensions.cs
- ListBase.cs
- __FastResourceComparer.cs
- ScrollItemPattern.cs
- PropertyOverridesDialog.cs
- Codec.cs
- SqlTypeConverter.cs
- InputScopeConverter.cs
- HtmlWindowCollection.cs
- CheckedListBox.cs
- MatrixAnimationUsingKeyFrames.cs
- ConvertEvent.cs
- CodeSnippetTypeMember.cs
- LinqToSqlWrapper.cs
- DesignerSelectionListAdapter.cs
- HijriCalendar.cs
- UriScheme.cs
- CanonicalizationDriver.cs
- TagMapCollection.cs
- RegistryKey.cs
- ServiceModelTimeSpanValidator.cs
- FormViewRow.cs
- FileLoadException.cs
- OpenFileDialog.cs
- OleDbEnumerator.cs
- ApplicationSecurityManager.cs
- BaseProcessProtocolHandler.cs
- AspProxy.cs
- WebDescriptionAttribute.cs
- Serializer.cs
- ConstrainedDataObject.cs
- AttributeParameterInfo.cs
- EncryptedType.cs
- EventRecord.cs
- VariantWrapper.cs
- DoubleCollection.cs
- HtmlWindowCollection.cs
- XmlFormatReaderGenerator.cs
- UserPreferenceChangingEventArgs.cs
- ScrollChrome.cs
- CompositionAdorner.cs
- TableColumnCollectionInternal.cs
- PackageProperties.cs
- ProtectedProviderSettings.cs
- FixedTextView.cs
- ObjectDisposedException.cs
- EventManager.cs
- EtwTrace.cs
- ResourceDisplayNameAttribute.cs
- Viewport3DVisual.cs
- IsolatedStorageFile.cs
- SafeTimerHandle.cs
- SqlDependency.cs
- TextCompositionManager.cs
- StringUtil.cs
- XpsStructure.cs
- ConversionContext.cs
- DPCustomTypeDescriptor.cs
- ServiceNameCollection.cs
- XamlSerializationHelper.cs
- Quaternion.cs
- SystemWebCachingSectionGroup.cs
- SafeBitVector32.cs
- JournalEntryListConverter.cs
- XmlObjectSerializer.cs
- _Events.cs
- NativeRecognizer.cs
- DateTime.cs
- BaseCollection.cs
- ScrollPattern.cs
- RenamedEventArgs.cs
- SqlLiftIndependentRowExpressions.cs
- TrackingProfile.cs
- QuadTree.cs
- MenuItemBinding.cs
- RawStylusInputCustomData.cs
- Helper.cs
- TreeIterators.cs
- SpellerHighlightLayer.cs
- NameScopePropertyAttribute.cs
- DataGridTable.cs
- PropertyDescriptors.cs
- EmptyImpersonationContext.cs
- NotifyCollectionChangedEventArgs.cs
- ProtectedProviderSettings.cs
- NestedContainer.cs
- XmlNullResolver.cs
- FileVersionInfo.cs
- UnconditionalPolicy.cs
- Root.cs
- ServiceModelConfigurationSection.cs
- _ShellExpression.cs
- DbgUtil.cs
- ObjectSecurity.cs
- ObjectStateFormatter.cs
- LocalFileSettingsProvider.cs
- WmlImageAdapter.cs