Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / FormViewModeEventArgs.cs / 1 / FormViewModeEventArgs.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 FormViewModeEventArgs : CancelEventArgs { private FormViewMode _mode; private bool _cancelingEdit; ///Provides data for the ///event. /// public FormViewModeEventArgs(FormViewMode 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 FormViewMode NewMode { get { return _mode; } set { _mode = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a FormViewMode 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 FormViewModeEventArgs : CancelEventArgs { private FormViewMode _mode; private bool _cancelingEdit; ///Provides data for the ///event. /// public FormViewModeEventArgs(FormViewMode 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 FormViewMode NewMode { get { return _mode; } set { _mode = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a FormViewMode in the ///. This property is read-only.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DesignerTransaction.cs
- TextElementCollectionHelper.cs
- BidPrivateBase.cs
- AppDomainFactory.cs
- CompositeActivityTypeDescriptorProvider.cs
- FrameworkContextData.cs
- FullTextState.cs
- TriggerCollection.cs
- AxHost.cs
- DataServiceRequestOfT.cs
- PlatformNotSupportedException.cs
- EdmTypeAttribute.cs
- Button.cs
- Tokenizer.cs
- FirstMatchCodeGroup.cs
- METAHEADER.cs
- CapabilitiesUse.cs
- RegexWriter.cs
- EncryptedData.cs
- DifferencingCollection.cs
- OracleCommand.cs
- shaperfactory.cs
- Ref.cs
- XamlPointCollectionSerializer.cs
- ColumnMap.cs
- OrderedDictionary.cs
- SchemaElementLookUpTableEnumerator.cs
- RC2.cs
- _TLSstream.cs
- FloaterParagraph.cs
- EmptyCollection.cs
- TextSchema.cs
- ClientScriptItemCollection.cs
- ToolboxItem.cs
- IListConverters.cs
- XmlHelper.cs
- CounterCreationDataConverter.cs
- MailMessage.cs
- PixelFormatConverter.cs
- KeyBinding.cs
- XmlValidatingReader.cs
- Point3DCollectionConverter.cs
- AlignmentYValidation.cs
- EventLogEntryCollection.cs
- CancellableEnumerable.cs
- PathFigureCollection.cs
- TextOutput.cs
- AVElementHelper.cs
- OdbcTransaction.cs
- BasicHttpMessageCredentialType.cs
- AspCompat.cs
- ItemsPresenter.cs
- ConfigXmlWhitespace.cs
- Types.cs
- ListViewHitTestInfo.cs
- XmlWrappingReader.cs
- CatalogZoneBase.cs
- KoreanLunisolarCalendar.cs
- ResourceExpression.cs
- FormsAuthentication.cs
- JsonWriter.cs
- AsyncCodeActivityContext.cs
- SystemUdpStatistics.cs
- SymbolType.cs
- HwndSource.cs
- ResourceReferenceExpression.cs
- ImmutableAssemblyCacheEntry.cs
- XmlStreamStore.cs
- SecurityHelper.cs
- DecimalConstantAttribute.cs
- ImageIndexConverter.cs
- ExpressionDumper.cs
- JapaneseCalendar.cs
- TabletDeviceInfo.cs
- BStrWrapper.cs
- HwndAppCommandInputProvider.cs
- RegexCompilationInfo.cs
- HandlerBase.cs
- ListControlDataBindingHandler.cs
- SHA256.cs
- CaseInsensitiveHashCodeProvider.cs
- AdvancedBindingEditor.cs
- Annotation.cs
- StringValidatorAttribute.cs
- SimpleWorkerRequest.cs
- NCryptSafeHandles.cs
- HttpRequest.cs
- RequestResizeEvent.cs
- Bitmap.cs
- XPathParser.cs
- Quaternion.cs
- SQLCharsStorage.cs
- CallSite.cs
- ConfigurationSchemaErrors.cs
- UInt64.cs
- DocumentCollection.cs
- ComponentEvent.cs
- CultureTable.cs
- Classification.cs
- SafeEventLogWriteHandle.cs