Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewModeEventArgs.cs / 1 / DetailsViewModeEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
using System.ComponentModel;
using System.Security.Permissions;
///
/// Provides data for the event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class DetailsViewModeEventArgs : CancelEventArgs {
private DetailsViewMode _mode;
private bool _cancelingEdit;
///
/// Initializes a new instance of class.
///
public DetailsViewModeEventArgs(DetailsViewMode mode, bool cancelingEdit) : base(false) {
this._mode = mode;
this._cancelingEdit = cancelingEdit;
}
///
/// Gets a bool in the indicating whether the mode change is the result of a cancel command.
/// This property is read-only.
///
public bool CancelingEdit {
get {
return _cancelingEdit;
}
}
///
/// Gets a DetailsViewMode in the . This property is read-only.
///
public DetailsViewMode NewMode {
get {
return _mode;
}
set {
_mode = value;
}
}
}
}
// 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
- EtwTrace.cs
- PrtTicket_Public.cs
- FontConverter.cs
- TransactionTable.cs
- MenuBindingsEditor.cs
- NullRuntimeConfig.cs
- PasswordRecovery.cs
- SecurityTokenResolver.cs
- SafeFileMappingHandle.cs
- Input.cs
- Int32Collection.cs
- XmlImplementation.cs
- ActivityBuilderHelper.cs
- LinkedList.cs
- CharEntityEncoderFallback.cs
- HtmlLink.cs
- XmlEventCache.cs
- ICspAsymmetricAlgorithm.cs
- RequestNavigateEventArgs.cs
- TemplateParser.cs
- Bitmap.cs
- SchemaImporterExtensionElement.cs
- DbSourceParameterCollection.cs
- HwndSource.cs
- HttpDictionary.cs
- XmlSchemaCollection.cs
- ContextMenuAutomationPeer.cs
- PrintDialog.cs
- TypeBuilder.cs
- DashStyle.cs
- LoginNameDesigner.cs
- SQLDateTime.cs
- SegmentInfo.cs
- RoleGroup.cs
- XmlStreamStore.cs
- WinFormsSpinner.cs
- KeyMatchBuilder.cs
- SymDocumentType.cs
- TypeSource.cs
- SessionParameter.cs
- AsyncSerializedWorker.cs
- FileIOPermission.cs
- RelationshipEndMember.cs
- HTTPRemotingHandler.cs
- Mouse.cs
- AssemblyCollection.cs
- PrimitiveType.cs
- FilterException.cs
- SmtpClient.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Slider.cs
- TransformerConfigurationWizardBase.cs
- LightweightEntityWrapper.cs
- MouseEventArgs.cs
- QuaternionKeyFrameCollection.cs
- DoubleLink.cs
- SQLInt32Storage.cs
- WindowProviderWrapper.cs
- DataTemplate.cs
- ServiceOperationParameter.cs
- FixedLineResult.cs
- TokenizerHelper.cs
- SplineKeyFrames.cs
- WSDualHttpBinding.cs
- PerformanceCounterLib.cs
- DefaultEventAttribute.cs
- StringValueConverter.cs
- XamlHostingSectionGroup.cs
- PlainXmlWriter.cs
- WebPartManagerInternals.cs
- DocumentPageView.cs
- TextOptions.cs
- ToolStripDropDownClosingEventArgs.cs
- MatrixUtil.cs
- RegexTree.cs
- RuleSettingsCollection.cs
- LinqExpressionNormalizer.cs
- CachedTypeface.cs
- AtomPub10CategoriesDocumentFormatter.cs
- DataViewSetting.cs
- NamespaceTable.cs
- ListBox.cs
- TryExpression.cs
- Application.cs
- BrowserCapabilitiesCompiler.cs
- MenuCommand.cs
- PictureBox.cs
- BaseTemplateBuildProvider.cs
- ComponentResourceKeyConverter.cs
- InfiniteIntConverter.cs
- ChannelSinkStacks.cs
- ListViewGroupConverter.cs
- MemberAssignment.cs
- VSDExceptions.cs
- ResourceDescriptionAttribute.cs
- AttributeCollection.cs
- bidPrivateBase.cs
- TextModifierScope.cs
- AtomMaterializerLog.cs
- SectionInformation.cs