Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewModeEventArgs : CancelEventArgs { private DetailsViewMode _mode; private bool _cancelingEdit; ///Provides data for the ///event. /// public DetailsViewModeEventArgs(DetailsViewMode mode, bool cancelingEdit) : base(false) { this._mode = mode; this._cancelingEdit = cancelingEdit; } ///Initializes a new instance of ///class. /// public bool CancelingEdit { get { return _cancelingEdit; } } ///Gets a bool in the ///indicating whether the mode change is the result of a cancel command. /// 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. //------------------------------------------------------------------------------ //Gets a DetailsViewMode in the ///. This property is read-only. // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DetailsViewModeEventArgs : CancelEventArgs { private DetailsViewMode _mode; private bool _cancelingEdit; ///Provides data for the ///event. /// public DetailsViewModeEventArgs(DetailsViewMode mode, bool cancelingEdit) : base(false) { this._mode = mode; this._cancelingEdit = cancelingEdit; } ///Initializes a new instance of ///class. /// public bool CancelingEdit { get { return _cancelingEdit; } } ///Gets a bool in the ///indicating whether the mode change is the result of a cancel command. /// 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.Gets a DetailsViewMode in the ///. This property is read-only.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ValueProviderWrapper.cs
- WebExceptionStatus.cs
- BevelBitmapEffect.cs
- entityreference_tresulttype.cs
- GetCryptoTransformRequest.cs
- TemplateBindingExpressionConverter.cs
- DateTimeFormatInfoScanner.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- IteratorFilter.cs
- EntityModelSchemaGenerator.cs
- DownloadProgressEventArgs.cs
- CodeStatementCollection.cs
- HandledMouseEvent.cs
- PrimaryKeyTypeConverter.cs
- IdentifierCreationService.cs
- StringBuilder.cs
- ObjectComplexPropertyMapping.cs
- KeyNotFoundException.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ConfigurationValue.cs
- SessionState.cs
- SplashScreen.cs
- IODescriptionAttribute.cs
- ContentPresenter.cs
- XsdValidatingReader.cs
- UnmanagedMemoryStreamWrapper.cs
- ComponentSerializationService.cs
- OleDbParameterCollection.cs
- DoubleLink.cs
- PersonalizationStateInfo.cs
- WindowsFormsHostPropertyMap.cs
- XMLUtil.cs
- ListDictionary.cs
- COM2IDispatchConverter.cs
- FunctionQuery.cs
- Normalization.cs
- DecimalKeyFrameCollection.cs
- FormsAuthenticationTicket.cs
- PersonalizableAttribute.cs
- StyleCollectionEditor.cs
- InfiniteIntConverter.cs
- SafeNativeMethods.cs
- HatchBrush.cs
- Util.cs
- SpellerError.cs
- shaperfactoryquerycachekey.cs
- VectorValueSerializer.cs
- MessageAction.cs
- PopOutPanel.cs
- xml.cs
- DummyDataSource.cs
- LicenseProviderAttribute.cs
- BigInt.cs
- HttpCacheParams.cs
- TextClipboardData.cs
- ContentPlaceHolder.cs
- PersonalizablePropertyEntry.cs
- HostingEnvironmentSection.cs
- ThrowHelper.cs
- MembershipValidatePasswordEventArgs.cs
- DynamicPropertyHolder.cs
- CacheChildrenQuery.cs
- MediaPlayer.cs
- DesignerForm.cs
- HttpResponseInternalWrapper.cs
- TextEffect.cs
- CodeAttributeArgument.cs
- Helper.cs
- OrthographicCamera.cs
- AssemblyInfo.cs
- GridItemProviderWrapper.cs
- FlowPosition.cs
- HtmlElementCollection.cs
- TaskFormBase.cs
- ObjectSet.cs
- TreeNodeBinding.cs
- ObjectItemAssemblyLoader.cs
- ParallelEnumerableWrapper.cs
- EventSourceCreationData.cs
- XsdDuration.cs
- ComplusEndpointConfigContainer.cs
- EventLogPermissionEntryCollection.cs
- SQLResource.cs
- SqlParameter.cs
- GroupByExpressionRewriter.cs
- ActivationServices.cs
- BaseProcessor.cs
- ParserContext.cs
- ItemDragEvent.cs
- LockedBorderGlyph.cs
- FixedSOMTextRun.cs
- VisualStyleElement.cs
- RuntimeCompatibilityAttribute.cs
- TextParagraphView.cs
- TileBrush.cs
- MainMenu.cs
- SafeArrayTypeMismatchException.cs
- ScriptReference.cs
- ReachFixedDocumentSerializerAsync.cs
- SqlStream.cs