Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- KnownBoxes.cs
- MatrixCamera.cs
- WinEventTracker.cs
- SolidColorBrush.cs
- OdbcEnvironment.cs
- ColorKeyFrameCollection.cs
- CachedTypeface.cs
- TabPanel.cs
- LocatorBase.cs
- CancellationScope.cs
- AccessedThroughPropertyAttribute.cs
- PerformanceCounterLib.cs
- _SingleItemRequestCache.cs
- FormsAuthenticationTicket.cs
- _AcceptOverlappedAsyncResult.cs
- LassoHelper.cs
- SqlConnectionFactory.cs
- TypeSystemProvider.cs
- TypeUsageBuilder.cs
- HandlerFactoryCache.cs
- ContractMapping.cs
- DeclarationUpdate.cs
- EdmEntityTypeAttribute.cs
- HttpProfileGroupBase.cs
- PersistenceProviderFactory.cs
- AutomationPatternInfo.cs
- AliasedExpr.cs
- dtdvalidator.cs
- XmlDownloadManager.cs
- DynamicPropertyReader.cs
- FormsAuthenticationEventArgs.cs
- StylusPointPropertyUnit.cs
- VolatileEnlistmentState.cs
- LinqDataSourceDeleteEventArgs.cs
- IPAddress.cs
- Int32.cs
- SafeArrayTypeMismatchException.cs
- ToolboxComponentsCreatingEventArgs.cs
- PerformanceCounter.cs
- ArithmeticLiteral.cs
- FastPropertyAccessor.cs
- AutoFocusStyle.xaml.cs
- TreeViewEvent.cs
- ObjectAssociationEndMapping.cs
- WmfPlaceableFileHeader.cs
- SessionStateUtil.cs
- PermissionListSet.cs
- ResourceProperty.cs
- MemoryStream.cs
- AccessControlList.cs
- WriteTimeStream.cs
- MarshalDirectiveException.cs
- WebPartConnectionCollection.cs
- Encoder.cs
- FieldNameLookup.cs
- FaultHandlingFilter.cs
- PartitionedStream.cs
- DataSourceSelectArguments.cs
- Propagator.ExtentPlaceholderCreator.cs
- validation.cs
- Timer.cs
- RegexCode.cs
- GradientStop.cs
- TableColumn.cs
- WpfKnownMember.cs
- RepeaterItemEventArgs.cs
- HotSpotCollection.cs
- _AuthenticationState.cs
- DispatcherOperation.cs
- SolidColorBrush.cs
- InvalidDataContractException.cs
- SqlBulkCopyColumnMappingCollection.cs
- ScrollProperties.cs
- InvokeHandlers.cs
- AuthenticationSection.cs
- DocumentViewerBaseAutomationPeer.cs
- ContactManager.cs
- ScriptManagerProxy.cs
- WebReference.cs
- BitConverter.cs
- SqlInternalConnectionSmi.cs
- ProcessModelSection.cs
- URLMembershipCondition.cs
- AndCondition.cs
- QuerySubExprEliminator.cs
- CodeVariableDeclarationStatement.cs
- EntityFunctions.cs
- Filter.cs
- WebException.cs
- BinaryMethodMessage.cs
- SystemResourceKey.cs
- CodeSnippetStatement.cs
- webclient.cs
- DbUpdateCommandTree.cs
- TransformedBitmap.cs
- DataGridViewCell.cs
- OutputCacheProfileCollection.cs
- InternalsVisibleToAttribute.cs
- TraceSwitch.cs
- GeneralTransform3D.cs