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
- DecimalConverter.cs
- CmsInterop.cs
- CapabilitiesState.cs
- ContainerFilterService.cs
- TextParagraphProperties.cs
- AlternationConverter.cs
- StyleCollection.cs
- EmptyQuery.cs
- ToolStripPanelCell.cs
- ImageButton.cs
- SafeFileMappingHandle.cs
- BoundPropertyEntry.cs
- DesignTimeTemplateParser.cs
- XmlSchemaSimpleContentExtension.cs
- CultureInfoConverter.cs
- TextBoxDesigner.cs
- ExtensibleClassFactory.cs
- DiagnosticTrace.cs
- TextEndOfSegment.cs
- UInt32Storage.cs
- SpellerStatusTable.cs
- MimeWriter.cs
- AngleUtil.cs
- VerificationAttribute.cs
- SkinBuilder.cs
- TransformerInfo.cs
- OutputCacheProfile.cs
- QuaternionRotation3D.cs
- GraphicsContainer.cs
- Stopwatch.cs
- COM2PropertyDescriptor.cs
- SinglePhaseEnlistment.cs
- ObjectContextServiceProvider.cs
- Exception.cs
- BamlRecordWriter.cs
- MemberInfoSerializationHolder.cs
- SuppressMessageAttribute.cs
- InternalBase.cs
- SchemaMapping.cs
- VariableExpressionConverter.cs
- ExclusiveCanonicalizationTransform.cs
- XmlMapping.cs
- ModelTreeManager.cs
- GenericTypeParameterBuilder.cs
- ConnectionStringSettingsCollection.cs
- SystemKeyConverter.cs
- ValidationSummary.cs
- StackOverflowException.cs
- TextChange.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- ParseNumbers.cs
- EdmProviderManifest.cs
- HttpResponseInternalWrapper.cs
- SelectionManager.cs
- ExceptionUtil.cs
- CodeExporter.cs
- PanelDesigner.cs
- DockPattern.cs
- ExpressionNode.cs
- mactripleDES.cs
- SafePEFileHandle.cs
- ListViewSelectEventArgs.cs
- NonVisualControlAttribute.cs
- DaylightTime.cs
- IISUnsafeMethods.cs
- WebPartConnectVerb.cs
- AdornerDecorator.cs
- NullReferenceException.cs
- EventDrivenDesigner.cs
- LinearKeyFrames.cs
- EventProxy.cs
- ControlCommandSet.cs
- precedingquery.cs
- MemberHolder.cs
- XslAstAnalyzer.cs
- ObjectDataSourceChooseTypePanel.cs
- DateTime.cs
- filewebresponse.cs
- SiteMap.cs
- PasswordTextNavigator.cs
- ListViewTableCell.cs
- SortableBindingList.cs
- XmlWrappingWriter.cs
- TextDecorationCollection.cs
- RayHitTestParameters.cs
- SqlClientMetaDataCollectionNames.cs
- MailDefinitionBodyFileNameEditor.cs
- PageCanvasSize.cs
- COM2ExtendedBrowsingHandler.cs
- GPPOINT.cs
- OutputCacheProfile.cs
- Process.cs
- OutOfMemoryException.cs
- PriorityBinding.cs
- CompiledQuery.cs
- LocalizationParserHooks.cs
- mda.cs
- TextMetrics.cs
- RealizationDrawingContextWalker.cs
- DataAdapter.cs