Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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; ////// [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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- CommandPlan.cs
- cookieexception.cs
- latinshape.cs
- MimeMapping.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- COMException.cs
- ProtectedProviderSettings.cs
- Reference.cs
- SecurityDocument.cs
- HtmlSelect.cs
- PartitionerQueryOperator.cs
- FileStream.cs
- XmlWellformedWriterHelpers.cs
- ClipboardData.cs
- StrokeCollectionDefaultValueFactory.cs
- InheritanceService.cs
- PingOptions.cs
- ObjRef.cs
- XmlC14NWriter.cs
- DrawingVisual.cs
- FormsAuthenticationCredentials.cs
- XmlArrayAttribute.cs
- Bits.cs
- CodeGen.cs
- DependencyObject.cs
- PropagatorResult.cs
- clipboard.cs
- UIPropertyMetadata.cs
- XmlDictionaryWriter.cs
- ResourceReader.cs
- AnimationClockResource.cs
- RadioButtonStandardAdapter.cs
- TemplateColumn.cs
- NamespaceImport.cs
- XmlUtf8RawTextWriter.cs
- RsaSecurityTokenAuthenticator.cs
- ProcessInfo.cs
- XmlElementAttribute.cs
- WmlLabelAdapter.cs
- XmlSchemaSimpleTypeRestriction.cs
- CompilerLocalReference.cs
- WSTransactionSection.cs
- LineServices.cs
- AccessibilityHelperForVista.cs
- ResourcePermissionBaseEntry.cs
- dsa.cs
- Convert.cs
- AssemblyCache.cs
- ActivityXamlServices.cs
- ToolStripItemCollection.cs
- ManipulationDelta.cs
- IERequestCache.cs
- CompositeControl.cs
- QueryGeneratorBase.cs
- OutputCacheSection.cs
- UIElementPropertyUndoUnit.cs
- SerializationStore.cs
- DataGridBeginningEditEventArgs.cs
- BitmapData.cs
- DataBindingCollection.cs
- FreezableDefaultValueFactory.cs
- PropertyPathWorker.cs
- Empty.cs
- ReadOnlyDataSourceView.cs
- InOutArgumentConverter.cs
- SqlParameter.cs
- IdnMapping.cs
- SafeLibraryHandle.cs
- PrivilegeNotHeldException.cs
- BuildProvider.cs
- IntersectQueryOperator.cs
- DocumentScope.cs
- KeyboardEventArgs.cs
- XsdBuilder.cs
- ProcessProtocolHandler.cs
- WebException.cs
- KeyedQueue.cs
- CommonProperties.cs
- FormatterServices.cs
- ScrollChrome.cs
- DataGridViewColumn.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DesignTimeVisibleAttribute.cs
- SqlBulkCopyColumnMappingCollection.cs
- ValidatingPropertiesEventArgs.cs
- securestring.cs
- Automation.cs
- WpfPayload.cs
- JsonSerializer.cs
- Matrix3D.cs
- SqlVersion.cs
- ModuleElement.cs
- NonNullItemCollection.cs
- SQLCharsStorage.cs
- ProviderIncompatibleException.cs
- ImageSourceTypeConverter.cs
- Int32AnimationBase.cs
- InkPresenter.cs
- BigInt.cs
- XamlWriter.cs