Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewUpdateEventArgs.cs / 1305376 / DetailsViewUpdateEventArgs.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;
///
/// Provides data for some events.
///
public class DetailsViewUpdateEventArgs : CancelEventArgs {
private object _commandArgument;
private OrderedDictionary _values;
private OrderedDictionary _keys;
private OrderedDictionary _oldValues;
///
/// Initializes a new instance of the
/// class.
///
public DetailsViewUpdateEventArgs(object commandArgument) : base(false) {
this._commandArgument = commandArgument;
}
///
/// Gets the argument to the command posted to the . This property is read-only.
///
public object CommandArgument {
get {
return _commandArgument;
}
}
///
/// 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
- cryptoapiTransform.cs
- PersistChildrenAttribute.cs
- FlowLayoutPanel.cs
- ContextStack.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- MemberInfoSerializationHolder.cs
- SendMessageContent.cs
- HelpProvider.cs
- IDQuery.cs
- DocumentGridPage.cs
- EffectiveValueEntry.cs
- Instrumentation.cs
- Size3D.cs
- BevelBitmapEffect.cs
- ZoneMembershipCondition.cs
- _SingleItemRequestCache.cs
- ControlBuilderAttribute.cs
- AddInBase.cs
- OutputCacheSettingsSection.cs
- ListViewItemMouseHoverEvent.cs
- PathFigureCollection.cs
- ServiceProviders.cs
- HotSpot.cs
- Dispatcher.cs
- CatalogZoneBase.cs
- UnsafeNativeMethods.cs
- PrimitiveDataContract.cs
- ProgressBarHighlightConverter.cs
- XmlDomTextWriter.cs
- ExecutionContext.cs
- DataBindingExpressionBuilder.cs
- PropertyManager.cs
- HtmlInputButton.cs
- VisualBasicSettings.cs
- EventEntry.cs
- BamlRecordHelper.cs
- CellPartitioner.cs
- HtmlInputCheckBox.cs
- MachinePropertyVariants.cs
- HTMLTagNameToTypeMapper.cs
- FixedPage.cs
- EndpointDispatcherTable.cs
- FixedTextSelectionProcessor.cs
- PropertyOverridesTypeEditor.cs
- DnsElement.cs
- CheckedPointers.cs
- ConfigViewGenerator.cs
- HoistedLocals.cs
- MemberDescriptor.cs
- SspiSecurityTokenParameters.cs
- TemplateControlBuildProvider.cs
- ToolStripDropDown.cs
- CodePageEncoding.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- TraceHwndHost.cs
- ClientSideProviderDescription.cs
- _ScatterGatherBuffers.cs
- FormatConvertedBitmap.cs
- ConfigXmlElement.cs
- DefaultTraceListener.cs
- HyperLink.cs
- StylusButtonCollection.cs
- CallTemplateAction.cs
- TypeGeneratedEventArgs.cs
- XmlSchemaObject.cs
- SqlPersonalizationProvider.cs
- XmlSchemaAttributeGroupRef.cs
- ToolStripContentPanel.cs
- SizeValueSerializer.cs
- messageonlyhwndwrapper.cs
- BindingsSection.cs
- CorrelationManager.cs
- DesigntimeLicenseContext.cs
- WorkflowIdleBehavior.cs
- EnumConverter.cs
- SqlDataSourceView.cs
- MetadataCache.cs
- SynchronizedDispatch.cs
- FunctionUpdateCommand.cs
- KeySplineConverter.cs
- FlowThrottle.cs
- ExpandCollapsePatternIdentifiers.cs
- LoginNameDesigner.cs
- invalidudtexception.cs
- BigInt.cs
- FontUnitConverter.cs
- ProjectionCamera.cs
- FileDialog.cs
- SerialPort.cs
- CharKeyFrameCollection.cs
- CustomActivityDesigner.cs
- BindStream.cs
- InheritanceContextChangedEventManager.cs
- CounterSample.cs
- DataComponentGenerator.cs
- PackageRelationshipCollection.cs
- TypeDescriptionProviderAttribute.cs
- MemoryMappedViewAccessor.cs
- XamlGridLengthSerializer.cs
- BamlRecords.cs