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
- basevalidator.cs
- ModelTypeConverter.cs
- SpecialFolderEnumConverter.cs
- AssociationType.cs
- Line.cs
- SaveFileDialog.cs
- CompositeActivityCodeGenerator.cs
- XPathNavigatorReader.cs
- Int32Rect.cs
- TransactionManager.cs
- ButtonBaseAutomationPeer.cs
- BrowserCapabilitiesCodeGenerator.cs
- RegexCompiler.cs
- FormatPage.cs
- XmlILCommand.cs
- Soap.cs
- UriExt.cs
- FieldToken.cs
- MessageQueueKey.cs
- DbConvert.cs
- EmptyEnumerable.cs
- ActionItem.cs
- AdapterDictionary.cs
- AsyncStreamReader.cs
- XamlGridLengthSerializer.cs
- StrongNameMembershipCondition.cs
- COM2IProvidePropertyBuilderHandler.cs
- CheckedListBox.cs
- MobileControlsSectionHelper.cs
- TextBlockAutomationPeer.cs
- DataGridViewComboBoxColumn.cs
- Cursors.cs
- SoapSchemaImporter.cs
- Decimal.cs
- PasswordPropertyTextAttribute.cs
- DrawingGroup.cs
- RuntimeConfig.cs
- QueryTaskGroupState.cs
- SyndicationCategory.cs
- QilVisitor.cs
- Relationship.cs
- GenericWebPart.cs
- ValidatorCollection.cs
- SQLString.cs
- InputGestureCollection.cs
- PtsHelper.cs
- AssemblyAttributesGoHere.cs
- SqlLiftIndependentRowExpressions.cs
- ResolveMatchesApril2005.cs
- XhtmlBasicValidatorAdapter.cs
- XPathAncestorQuery.cs
- TrackingMemoryStreamFactory.cs
- RewritingValidator.cs
- SoapExtensionTypeElement.cs
- PropertyNames.cs
- PlatformNotSupportedException.cs
- RenamedEventArgs.cs
- SegmentInfo.cs
- UpdateProgress.cs
- CheckedListBox.cs
- WebPartEditorApplyVerb.cs
- EntitySqlQueryBuilder.cs
- CompletionBookmark.cs
- DataListItem.cs
- IncrementalReadDecoders.cs
- CmsUtils.cs
- Cast.cs
- GeneralTransformGroup.cs
- handlecollector.cs
- DataSourceSerializationException.cs
- MessageDesigner.cs
- ObjectStateEntryDbDataRecord.cs
- Int32.cs
- QuaternionValueSerializer.cs
- CreateSequence.cs
- HttpCapabilitiesEvaluator.cs
- SafeHGlobalHandleCritical.cs
- XsdDuration.cs
- PreservationFileReader.cs
- StatusBarPanel.cs
- CompilerTypeWithParams.cs
- GridViewEditEventArgs.cs
- ItemMap.cs
- FormViewRow.cs
- Storyboard.cs
- TdsParserSafeHandles.cs
- ResourcesGenerator.cs
- ProgressBar.cs
- OrderByQueryOptionExpression.cs
- HeaderUtility.cs
- GAC.cs
- XmlCountingReader.cs
- Monitor.cs
- NamespaceEmitter.cs
- SettingsPropertyValueCollection.cs
- TypedTableBase.cs
- XmlCharacterData.cs
- Table.cs
- AuthenticationModuleElementCollection.cs
- NullableIntSumAggregationOperator.cs