Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / ListViewUpdateEventArgs.cs / 1 / ListViewUpdateEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
using System.Collections.Specialized;
using System.ComponentModel;
namespace System.Web.UI.WebControls {
[AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class ListViewUpdateEventArgs : CancelEventArgs {
private int _itemIndex;
private OrderedDictionary _values;
private OrderedDictionary _keys;
private OrderedDictionary _oldValues;
public ListViewUpdateEventArgs(int itemIndex) {
_itemIndex = itemIndex;
}
///
/// Gets the int argument to the command posted to the . This property is read-only.
///
public int ItemIndex {
get {
return _itemIndex;
}
}
///
/// Gets a keyed list to populate with updated row values. This property is read-only.
///
public IOrderedDictionary Keys {
get {
if (_keys == null) {
_keys = new OrderedDictionary();
}
return _keys;
}
}
///
/// Gets a OrderedDictionary to populate with updated row values. This property is read-only.
///
public IOrderedDictionary NewValues {
get {
if (_values == null) {
_values = new OrderedDictionary();
}
return _values;
}
}
///
/// Gets a OrderedDictionary to populate with pre-edit row values. This property is read-only.
///
public IOrderedDictionary OldValues {
get {
if (_oldValues == null) {
_oldValues = new OrderedDictionary();
}
return _oldValues;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BindingBase.cs
- DataViewSetting.cs
- AssociationSetEnd.cs
- Visual.cs
- UnaryExpression.cs
- RequiredFieldValidator.cs
- ModelPerspective.cs
- BaseContextMenu.cs
- ToolStripPanelRow.cs
- ReflectEventDescriptor.cs
- ToolBarOverflowPanel.cs
- XsltSettings.cs
- Latin1Encoding.cs
- ItemAutomationPeer.cs
- OleDbParameterCollection.cs
- SapiGrammar.cs
- Effect.cs
- EncoderReplacementFallback.cs
- SessionEndedEventArgs.cs
- FlowDocumentView.cs
- ProxySimple.cs
- KoreanCalendar.cs
- XPathNodeHelper.cs
- StructuredTypeInfo.cs
- oledbconnectionstring.cs
- SByte.cs
- AddInControllerImpl.cs
- UpdateTracker.cs
- DataBindingList.cs
- XslAstAnalyzer.cs
- BufferedGraphicsContext.cs
- ControlType.cs
- RadioButton.cs
- ApplyTemplatesAction.cs
- UInt64.cs
- SessionPageStateSection.cs
- SimpleBitVector32.cs
- HttpCacheVary.cs
- CodeChecksumPragma.cs
- Predicate.cs
- LoginView.cs
- CurrentChangedEventManager.cs
- Wildcard.cs
- ImageSourceConverter.cs
- DesignBindingPropertyDescriptor.cs
- CAGDesigner.cs
- XsdBuilder.cs
- GC.cs
- DataKey.cs
- WarningException.cs
- TabControlCancelEvent.cs
- ModuleBuilder.cs
- Parser.cs
- LazyLoadBehavior.cs
- UnsafeNativeMethodsMilCoreApi.cs
- UxThemeWrapper.cs
- EntityDesignerBuildProvider.cs
- CacheHelper.cs
- SamlEvidence.cs
- ByteViewer.cs
- PatternMatchRules.cs
- Label.cs
- ExpressionBuilder.cs
- CompilerCollection.cs
- FrameworkElementFactory.cs
- GC.cs
- PasswordTextContainer.cs
- DBSqlParserTable.cs
- InternalMappingException.cs
- tabpagecollectioneditor.cs
- CodeMethodMap.cs
- DiagnosticTrace.cs
- TreeNodeStyleCollection.cs
- ControlBuilderAttribute.cs
- SignatureToken.cs
- JournalEntryListConverter.cs
- ContentPlaceHolderDesigner.cs
- DbXmlEnabledProviderManifest.cs
- FakeModelItemImpl.cs
- AxisAngleRotation3D.cs
- SqlCommandBuilder.cs
- TextRenderingModeValidation.cs
- AutomationEvent.cs
- CreateUserErrorEventArgs.cs
- Vector3D.cs
- InternalSafeNativeMethods.cs
- DataGridItemCollection.cs
- WorkflowControlClient.cs
- UrlMappingsSection.cs
- MouseOverProperty.cs
- DBSchemaRow.cs
- RelationshipDetailsCollection.cs
- ProxyAttribute.cs
- LineGeometry.cs
- ErrorRuntimeConfig.cs
- SafeLocalMemHandle.cs
- XamlToRtfParser.cs
- reliableinputsessionchannel.cs
- WebPartDisplayModeCollection.cs
- XDeferredAxisSource.cs