Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- HwndHostAutomationPeer.cs
- TypeSystem.cs
- SecUtil.cs
- FileFormatException.cs
- ConfigUtil.cs
- BulletedListEventArgs.cs
- XsltSettings.cs
- Keyboard.cs
- WithStatement.cs
- RbTree.cs
- TextElement.cs
- FileIOPermission.cs
- XPathAncestorIterator.cs
- IsolatedStorageFile.cs
- CompleteWizardStep.cs
- CodePageEncoding.cs
- WebPartManagerDesigner.cs
- SerializerWriterEventHandlers.cs
- LicenseManager.cs
- ActivationServices.cs
- OutOfProcStateClientManager.cs
- StatusBar.cs
- DropDownList.cs
- WmlCalendarAdapter.cs
- ActivityCodeDomSerializationManager.cs
- ScrollProviderWrapper.cs
- LicenseContext.cs
- DataServiceExpressionVisitor.cs
- SqlGatherConsumedAliases.cs
- QueryOperationResponseOfT.cs
- ObjectConverter.cs
- Visual3DCollection.cs
- TdsParserSessionPool.cs
- DataColumnMappingCollection.cs
- ConstrainedDataObject.cs
- ReferenceAssemblyAttribute.cs
- FontWeights.cs
- MouseGesture.cs
- XmlSchemaIdentityConstraint.cs
- CancellationTokenSource.cs
- HttpWriter.cs
- RelationshipEntry.cs
- BitmapEncoder.cs
- CharacterShapingProperties.cs
- ExtenderHelpers.cs
- ProfileServiceManager.cs
- AppliedDeviceFiltersDialog.cs
- Emitter.cs
- CellIdBoolean.cs
- InkCanvasSelectionAdorner.cs
- IxmlLineInfo.cs
- ProfilePropertyMetadata.cs
- DataObjectPastingEventArgs.cs
- WebPartMenuStyle.cs
- CellTreeNode.cs
- BufferedGraphics.cs
- ResourceProperty.cs
- DispatcherObject.cs
- SmtpFailedRecipientsException.cs
- ContractComponent.cs
- ProcessModuleCollection.cs
- MimeXmlImporter.cs
- TargetControlTypeCache.cs
- SimpleHandlerBuildProvider.cs
- PageAsyncTaskManager.cs
- ConfigXmlReader.cs
- XmlQueryStaticData.cs
- CanExpandCollapseAllConverter.cs
- sqlstateclientmanager.cs
- TreeWalkHelper.cs
- HttpListenerRequest.cs
- Evidence.cs
- Soap.cs
- Stack.cs
- OutputCacheSettingsSection.cs
- MatrixValueSerializer.cs
- LongValidator.cs
- InertiaTranslationBehavior.cs
- PathHelper.cs
- WindowsGraphics.cs
- ToolStripDesignerUtils.cs
- DataTemplate.cs
- EntityTypeBase.cs
- ToolStripHighContrastRenderer.cs
- StyleBamlRecordReader.cs
- SafeNativeMethodsCLR.cs
- EntityDataSource.cs
- Triplet.cs
- UshortList2.cs
- AssemblyBuilder.cs
- OdbcConnection.cs
- ClientApiGenerator.cs
- UIElementIsland.cs
- LinqDataView.cs
- Stack.cs
- ParentQuery.cs
- ProgressiveCrcCalculatingStream.cs
- HtmlHistory.cs
- WindowsListViewGroupHelper.cs
- OpCopier.cs