Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ImageCodecInfo.cs
- OdbcInfoMessageEvent.cs
- WorkflowViewElement.cs
- StringArrayConverter.cs
- InternalControlCollection.cs
- safelinkcollection.cs
- CompleteWizardStep.cs
- SystemDiagnosticsSection.cs
- Terminate.cs
- MasterPageBuildProvider.cs
- UrlMappingsSection.cs
- complextypematerializer.cs
- FaultCode.cs
- DocumentGridPage.cs
- SourceFilter.cs
- BoundPropertyEntry.cs
- XmlDataSourceNodeDescriptor.cs
- ActivationArguments.cs
- XmlSchemaObjectCollection.cs
- XmlConvert.cs
- CopyNamespacesAction.cs
- IndicCharClassifier.cs
- ToolStripButton.cs
- NonParentingControl.cs
- UICuesEvent.cs
- XPathScanner.cs
- mactripleDES.cs
- WebPartConnectionsDisconnectVerb.cs
- AndCondition.cs
- XPathDocumentNavigator.cs
- StateItem.cs
- WebServiceResponse.cs
- InkPresenterAutomationPeer.cs
- StreamInfo.cs
- Int16AnimationBase.cs
- ContractMethodInfo.cs
- SecurityManager.cs
- DynamicResourceExtensionConverter.cs
- PowerModeChangedEventArgs.cs
- ComponentGuaranteesAttribute.cs
- RelationshipDetailsCollection.cs
- IImplicitResourceProvider.cs
- XmlDocumentFragment.cs
- ScriptIgnoreAttribute.cs
- Publisher.cs
- HtmlUtf8RawTextWriter.cs
- TypefaceCollection.cs
- SqlUtil.cs
- XmlAtomErrorReader.cs
- XXXInfos.cs
- validation.cs
- DateTimeOffset.cs
- ThicknessAnimationBase.cs
- ScriptComponentDescriptor.cs
- Visual3DCollection.cs
- SmtpLoginAuthenticationModule.cs
- FormsIdentity.cs
- BinaryObjectReader.cs
- StylusDownEventArgs.cs
- ChangePassword.cs
- RoutingService.cs
- ColumnMapProcessor.cs
- CqlParserHelpers.cs
- ApplicationSettingsBase.cs
- MetafileHeaderWmf.cs
- StackBuilderSink.cs
- TreeNodeEventArgs.cs
- SqlCacheDependencySection.cs
- AspNetSynchronizationContext.cs
- CalloutQueueItem.cs
- EntityStoreSchemaGenerator.cs
- loginstatus.cs
- XPathArrayIterator.cs
- ComplexLine.cs
- OLEDB_Enum.cs
- PathFigureCollection.cs
- EventBuilder.cs
- CodeTypeReferenceSerializer.cs
- KeysConverter.cs
- DataGridViewTopRowAccessibleObject.cs
- DataGridViewImageCell.cs
- SystemTcpConnection.cs
- Help.cs
- Column.cs
- SHA384.cs
- StylusButton.cs
- RemoveStoryboard.cs
- PreProcessInputEventArgs.cs
- QilReference.cs
- ActiveXSite.cs
- XmlNamespaceMappingCollection.cs
- ObjectHelper.cs
- BitmapEffectOutputConnector.cs
- AppDomainUnloadedException.cs
- InvalidFilterCriteriaException.cs
- ServicePointManagerElement.cs
- BuildManager.cs
- ActionMismatchAddressingException.cs
- SortedList.cs
- WebPartTracker.cs