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
- MethodBuilder.cs
- SkewTransform.cs
- FormViewInsertedEventArgs.cs
- ParserHooks.cs
- JapaneseCalendar.cs
- SetterTriggerConditionValueConverter.cs
- ModelEditingScope.cs
- XmlCountingReader.cs
- CustomCategoryAttribute.cs
- BuildProvider.cs
- OSFeature.cs
- ClientSettingsProvider.cs
- ListMarkerLine.cs
- PictureBox.cs
- VisualSerializer.cs
- ProjectionRewriter.cs
- UrlMappingsSection.cs
- cache.cs
- BaseParser.cs
- DetailsViewRow.cs
- SemaphoreSlim.cs
- Formatter.cs
- RegexTree.cs
- TextRunProperties.cs
- SystemNetHelpers.cs
- TextEffectResolver.cs
- MethodExpr.cs
- WebBrowserSiteBase.cs
- RoutedEventValueSerializer.cs
- ResourceDescriptionAttribute.cs
- ImageKeyConverter.cs
- DataGridSortCommandEventArgs.cs
- SessionState.cs
- AttributeQuery.cs
- PenLineCapValidation.cs
- CodeTypeOfExpression.cs
- InternalsVisibleToAttribute.cs
- QilUnary.cs
- WebPartZoneCollection.cs
- MbpInfo.cs
- FixedDocument.cs
- ButtonBase.cs
- ServiceModelEnumValidatorAttribute.cs
- EmptyCollection.cs
- ToolStripPanelCell.cs
- MainMenu.cs
- MobileControlDesigner.cs
- KeySpline.cs
- exports.cs
- WebPartAuthorizationEventArgs.cs
- StrokeDescriptor.cs
- RegexCompilationInfo.cs
- ClaimTypes.cs
- AssemblyCache.cs
- COM2IProvidePropertyBuilderHandler.cs
- TextBoxView.cs
- BasePropertyDescriptor.cs
- TdsParserStateObject.cs
- Configuration.cs
- ItemContainerPattern.cs
- ObjectDataSourceStatusEventArgs.cs
- Crc32Helper.cs
- TextReader.cs
- ExtendedProperty.cs
- TreeView.cs
- LowerCaseStringConverter.cs
- TextSchema.cs
- Profiler.cs
- BidOverLoads.cs
- CounterSample.cs
- WebPartCatalogAddVerb.cs
- SystemInformation.cs
- CacheDependency.cs
- ToolboxComponentsCreatingEventArgs.cs
- ImageField.cs
- DrawListViewItemEventArgs.cs
- ProfileGroupSettings.cs
- ForeignKeyConstraint.cs
- GenericNameHandler.cs
- ApplicationInfo.cs
- OdbcFactory.cs
- ReadOnlyDataSource.cs
- DataBinder.cs
- TdsEnums.cs
- PartialCachingControl.cs
- ExceptionHelpers.cs
- CmsUtils.cs
- Token.cs
- ButtonFlatAdapter.cs
- ZeroOpNode.cs
- SynchronousReceiveElement.cs
- InputLanguageCollection.cs
- MutexSecurity.cs
- SqlMetaData.cs
- OrderedDictionaryStateHelper.cs
- DocumentPage.cs
- XmlReflectionImporter.cs
- ColumnWidthChangingEvent.cs
- RuleSettingsCollection.cs
- MSAAEventDispatcher.cs