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
- MULTI_QI.cs
- adornercollection.cs
- BindingCompleteEventArgs.cs
- FieldAccessException.cs
- ReferenceService.cs
- TextEncodedRawTextWriter.cs
- RectangleF.cs
- RulePatternOps.cs
- Helper.cs
- GridViewCommandEventArgs.cs
- ParenthesizePropertyNameAttribute.cs
- AsyncOperationLifetimeManager.cs
- SimpleBitVector32.cs
- ObsoleteAttribute.cs
- DiagnosticTrace.cs
- WebPartZone.cs
- RequestContext.cs
- SizeLimitedCache.cs
- LoginCancelEventArgs.cs
- Rotation3D.cs
- MaskedTextBoxDesigner.cs
- HuffCodec.cs
- DataContractSerializerMessageContractImporter.cs
- UshortList2.cs
- GlyphCollection.cs
- XmlSchemaComplexContentRestriction.cs
- ContextProperty.cs
- DataGridPagerStyle.cs
- dtdvalidator.cs
- DecoderExceptionFallback.cs
- ScrollViewerAutomationPeer.cs
- XmlDocument.cs
- GridViewUpdatedEventArgs.cs
- FuncTypeConverter.cs
- DiffuseMaterial.cs
- EnterpriseServicesHelper.cs
- Walker.cs
- FieldBuilder.cs
- isolationinterop.cs
- ExtentCqlBlock.cs
- XmlElementElementCollection.cs
- ListBindingConverter.cs
- ContainerParagraph.cs
- DataBinding.cs
- ActionFrame.cs
- ClosableStream.cs
- BlockUIContainer.cs
- OleDbDataAdapter.cs
- DataServiceHostWrapper.cs
- NoneExcludedImageIndexConverter.cs
- XmlReflectionMember.cs
- WebControlAdapter.cs
- StylusButtonCollection.cs
- CodeMemberEvent.cs
- VerificationException.cs
- ExpressionDumper.cs
- ThreadStartException.cs
- PropertyGroupDescription.cs
- SqlBulkCopyColumnMapping.cs
- EditingMode.cs
- DetailsView.cs
- Misc.cs
- Rotation3DAnimationUsingKeyFrames.cs
- PointAnimationBase.cs
- SemanticResultKey.cs
- PrintPreviewDialog.cs
- UndoEngine.cs
- GridViewRowPresenter.cs
- WorkflowServiceNamespace.cs
- OTFRasterizer.cs
- InvalidPropValue.cs
- ObfuscationAttribute.cs
- StaticExtension.cs
- InputLanguageEventArgs.cs
- AsyncContentLoadedEventArgs.cs
- WindowsTokenRoleProvider.cs
- QilFactory.cs
- PinnedBufferMemoryStream.cs
- UserNamePasswordServiceCredential.cs
- EmptyEnumerable.cs
- CellParaClient.cs
- HttpFormatExtensions.cs
- BufferedGraphics.cs
- BeginGetFileNameFromUserRequest.cs
- _FixedSizeReader.cs
- TreeNodeStyle.cs
- SkipStoryboardToFill.cs
- _emptywebproxy.cs
- URI.cs
- CssTextWriter.cs
- LabelLiteral.cs
- SpellCheck.cs
- CheckBoxRenderer.cs
- PartitionResolver.cs
- EventPropertyMap.cs
- DataServiceHostFactory.cs
- EventNotify.cs
- StreamWriter.cs
- ProfileManager.cs
- CustomCredentialPolicy.cs