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
- LinkButton.cs
- FixedFindEngine.cs
- SecurityElement.cs
- PointConverter.cs
- QuestionEventArgs.cs
- WebBaseEventKeyComparer.cs
- AudioLevelUpdatedEventArgs.cs
- BitmapScalingModeValidation.cs
- ThreadStaticAttribute.cs
- ToolConsole.cs
- DispatcherFrame.cs
- ColorContext.cs
- TransformPatternIdentifiers.cs
- UInt64Converter.cs
- ParenExpr.cs
- ListBoxItemAutomationPeer.cs
- ToolStripItemEventArgs.cs
- MenuRenderer.cs
- MruCache.cs
- PocoPropertyAccessorStrategy.cs
- StatusStrip.cs
- FontUnit.cs
- DataGridViewImageCell.cs
- MenuItemBinding.cs
- InputManager.cs
- SqlDataRecord.cs
- ListDictionary.cs
- WeakReferenceKey.cs
- ActivityTypeResolver.xaml.cs
- ReadOnlyCollectionBase.cs
- WsatAdminException.cs
- Propagator.cs
- ListBoxItemWrapperAutomationPeer.cs
- AuditLog.cs
- WorkflowServiceHost.cs
- RightNameExpirationInfoPair.cs
- InvalidFilterCriteriaException.cs
- DataGridAutomationPeer.cs
- AttributeQuery.cs
- ParameterExpression.cs
- DatePickerAutomationPeer.cs
- SkewTransform.cs
- TextFormatterContext.cs
- SafeNativeMethods.cs
- ToolStripProgressBar.cs
- MethodBuilderInstantiation.cs
- DateBoldEvent.cs
- HttpFileCollection.cs
- filewebresponse.cs
- Error.cs
- SlipBehavior.cs
- DragEvent.cs
- LateBoundBitmapDecoder.cs
- AtomContentProperty.cs
- DbQueryCommandTree.cs
- ObjectDataSourceDesigner.cs
- EncoderParameters.cs
- SafeTimerHandle.cs
- ListItemConverter.cs
- DataGridViewCellPaintingEventArgs.cs
- DocumentViewerHelper.cs
- XmlAutoDetectWriter.cs
- DbConnectionClosed.cs
- ToolStripContentPanelRenderEventArgs.cs
- Msmq4PoisonHandler.cs
- WindowShowOrOpenTracker.cs
- TrackingLocationCollection.cs
- XamlInt32CollectionSerializer.cs
- FixedSOMLineRanges.cs
- XmlSerializationWriter.cs
- CodeNamespaceCollection.cs
- WebBrowserBase.cs
- FrameworkRichTextComposition.cs
- IndexOutOfRangeException.cs
- StructuredProperty.cs
- InternalTypeHelper.cs
- Brush.cs
- ConfigXmlElement.cs
- RecordManager.cs
- iisPickupDirectory.cs
- XmlElementAttribute.cs
- ConfigurationSectionGroup.cs
- JsonByteArrayDataContract.cs
- NullReferenceException.cs
- SubqueryTrackingVisitor.cs
- RegistrySecurity.cs
- HighContrastHelper.cs
- CanonicalXml.cs
- Baml2006KeyRecord.cs
- DesignerFrame.cs
- Crypto.cs
- SourceChangedEventArgs.cs
- CodeObjectCreateExpression.cs
- OrderedEnumerableRowCollection.cs
- PathFigure.cs
- DataSourceControl.cs
- InstanceCreationEditor.cs
- PointAnimationBase.cs
- OciHandle.cs
- TabletDevice.cs