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
- TextSelectionHighlightLayer.cs
- BaseProcessor.cs
- behaviorssection.cs
- List.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- StructuredTypeInfo.cs
- EnumerableRowCollectionExtensions.cs
- BufferedGraphicsManager.cs
- OverrideMode.cs
- MouseEventArgs.cs
- ConnectionStringsExpressionBuilder.cs
- ExtensionQuery.cs
- CharConverter.cs
- FormsAuthenticationEventArgs.cs
- BitmapMetadataBlob.cs
- ExtendedPropertyCollection.cs
- WindowsToolbar.cs
- PointLight.cs
- HttpGetServerProtocol.cs
- Int32KeyFrameCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- __FastResourceComparer.cs
- TransformedBitmap.cs
- WebCategoryAttribute.cs
- ClientRoleProvider.cs
- ListItemConverter.cs
- LogRestartAreaEnumerator.cs
- VisualTransition.cs
- columnmapfactory.cs
- XmlDataSource.cs
- _CookieModule.cs
- RuntimeEnvironment.cs
- Registration.cs
- SafeWaitHandle.cs
- TitleStyle.cs
- ReliableRequestSessionChannel.cs
- RelationshipConverter.cs
- DelegateOutArgument.cs
- ScriptModule.cs
- DataGridViewCellCollection.cs
- ContentFilePart.cs
- ObjectStateEntryDbDataRecord.cs
- ComponentConverter.cs
- SocketException.cs
- DynamicMethod.cs
- Property.cs
- TypeConverter.cs
- PageContent.cs
- OverflowException.cs
- FrameworkContentElement.cs
- SqlCommandSet.cs
- SafeCertificateContext.cs
- HttpInputStream.cs
- SessionIDManager.cs
- StoreUtilities.cs
- XPathAncestorQuery.cs
- _Events.cs
- XmlReflectionMember.cs
- SimplePropertyEntry.cs
- ReachVisualSerializerAsync.cs
- DocumentApplicationDocumentViewer.cs
- KeyboardDevice.cs
- RSAPKCS1SignatureDeformatter.cs
- EventLogHandle.cs
- HierarchicalDataTemplate.cs
- Win32NamedPipes.cs
- CodeConstructor.cs
- PairComparer.cs
- HTMLTagNameToTypeMapper.cs
- ZipFileInfoCollection.cs
- UntypedNullExpression.cs
- DesignerVerb.cs
- ObjectListCommandCollection.cs
- FormViewDeletedEventArgs.cs
- FunctionUpdateCommand.cs
- BaseProcessor.cs
- TextViewElement.cs
- Bitmap.cs
- AnimationTimeline.cs
- RouteValueDictionary.cs
- DbConnectionOptions.cs
- NativeMethods.cs
- GeometryConverter.cs
- SqlBulkCopy.cs
- ImageListUtils.cs
- ObjectCloneHelper.cs
- BufferModeSettings.cs
- DmlSqlGenerator.cs
- GradientBrush.cs
- LinkLabelLinkClickedEvent.cs
- PrintPreviewGraphics.cs
- DesignerActionVerbItem.cs
- InterleavedZipPartStream.cs
- ExternalException.cs
- wgx_render.cs
- RequestQueryParser.cs
- WebServiceBindingAttribute.cs
- GridViewSortEventArgs.cs
- WebPartHelpVerb.cs
- View.cs