Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PackUriHelper.cs
- VisualTreeHelper.cs
- Pair.cs
- XPathMessageFilterElementComparer.cs
- FacetValues.cs
- GacUtil.cs
- SocketException.cs
- DependencyPropertyKey.cs
- DependencyObject.cs
- ContainsRowNumberChecker.cs
- _ProxyRegBlob.cs
- LabelDesigner.cs
- Popup.cs
- DocumentPageHost.cs
- PieceNameHelper.cs
- precedingsibling.cs
- ServiceMetadataBehavior.cs
- AssemblyBuilderData.cs
- SchemaTypeEmitter.cs
- SchemaNamespaceManager.cs
- ValidatedControlConverter.cs
- ValueOfAction.cs
- TypeUtil.cs
- MarshalByRefObject.cs
- Membership.cs
- DefaultShape.cs
- CompositionTarget.cs
- CompilerLocalReference.cs
- ArcSegment.cs
- GeneralTransform3D.cs
- WebConfigurationHostFileChange.cs
- HttpRuntimeSection.cs
- ConnectionPointGlyph.cs
- RangeValidator.cs
- DataGridParentRows.cs
- MatrixUtil.cs
- DesignerTextViewAdapter.cs
- RadioButton.cs
- EventWaitHandle.cs
- CodeDomSerializerException.cs
- DbTransaction.cs
- StringBuilder.cs
- CombinedGeometry.cs
- ComplexTypeEmitter.cs
- _LocalDataStore.cs
- XmlSchemaException.cs
- EventMappingSettings.cs
- TextEditor.cs
- GCHandleCookieTable.cs
- BitmapEffectvisualstate.cs
- BitmapDownload.cs
- __TransparentProxy.cs
- RNGCryptoServiceProvider.cs
- BaseCodePageEncoding.cs
- DataSourceHelper.cs
- ConnectionInterfaceCollection.cs
- SafeEventLogWriteHandle.cs
- KeyBinding.cs
- ObjectStateManager.cs
- DesignerForm.cs
- HandleRef.cs
- PermissionAttributes.cs
- Geometry.cs
- Deserializer.cs
- BitmapEffect.cs
- Compilation.cs
- DelayedRegex.cs
- TextElementCollectionHelper.cs
- InvalidPrinterException.cs
- DesignerAutoFormatCollection.cs
- ZoneLinkButton.cs
- OperationFormatStyle.cs
- DataServiceQuery.cs
- DrawingGroup.cs
- XmlIgnoreAttribute.cs
- NameObjectCollectionBase.cs
- FormatSelectingMessageInspector.cs
- BaseValidator.cs
- ValueChangedEventManager.cs
- InternalResources.cs
- ReadOnlyPropertyMetadata.cs
- HwndSubclass.cs
- ImageField.cs
- OleDbTransaction.cs
- LabelLiteral.cs
- ScriptDescriptor.cs
- RijndaelManaged.cs
- QuinticEase.cs
- PointValueSerializer.cs
- ObfuscationAttribute.cs
- DataRelationCollection.cs
- MenuEventArgs.cs
- _SpnDictionary.cs
- OutputScope.cs
- ReflectionTypeLoadException.cs
- Error.cs
- SimpleType.cs
- ImageFormat.cs
- XmlLoader.cs
- RegexCompilationInfo.cs