Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- OrCondition.cs
- ToolBarOverflowPanel.cs
- XamlPoint3DCollectionSerializer.cs
- HandlerFactoryCache.cs
- EdmMember.cs
- SendMailErrorEventArgs.cs
- CompareValidator.cs
- ProgramNode.cs
- ThreadSafeMessageFilterTable.cs
- BindToObject.cs
- NameObjectCollectionBase.cs
- SchemaEntity.cs
- ShaperBuffers.cs
- _SecureChannel.cs
- UserControl.cs
- XmlComplianceUtil.cs
- NewArray.cs
- MenuItemStyleCollection.cs
- MetadataCacheItem.cs
- DBNull.cs
- EntityDataSourceColumn.cs
- DataGridViewRowsAddedEventArgs.cs
- BehaviorEditorPart.cs
- BrowserDefinitionCollection.cs
- FindCriteria11.cs
- ControlsConfig.cs
- DataGridPageChangedEventArgs.cs
- RangeValuePattern.cs
- Control.cs
- OracleBinary.cs
- ChannelHandler.cs
- SelectorAutomationPeer.cs
- CreateDataSourceDialog.cs
- Query.cs
- CryptoStream.cs
- PenThreadPool.cs
- ProviderException.cs
- DefaultSection.cs
- RuntimeWrappedException.cs
- Size.cs
- _ProxyRegBlob.cs
- InvalidOleVariantTypeException.cs
- XmlElementAttributes.cs
- DirectionalLight.cs
- TransactionFlowProperty.cs
- StringUtil.cs
- StreamingContext.cs
- XmlHierarchicalDataSourceView.cs
- StackBuilderSink.cs
- VerificationAttribute.cs
- ListBox.cs
- BinaryReader.cs
- CollectionEditor.cs
- Delegate.cs
- EncoderBestFitFallback.cs
- PageParser.cs
- SecurityContext.cs
- DataSourceComponent.cs
- MetafileHeader.cs
- ListenerElementsCollection.cs
- ClipboardData.cs
- IndicCharClassifier.cs
- XmlSchemaObjectTable.cs
- DBCSCodePageEncoding.cs
- PropertyItem.cs
- Calendar.cs
- DriveNotFoundException.cs
- WebPermission.cs
- DefaultPropertiesToSend.cs
- XmlLoader.cs
- Label.cs
- XmlSubtreeReader.cs
- StaticFileHandler.cs
- DiscoveryClientChannelBase.cs
- EventSchemaTraceListener.cs
- DelegatingTypeDescriptionProvider.cs
- Parameter.cs
- UniqueConstraint.cs
- UserControl.cs
- CaseInsensitiveHashCodeProvider.cs
- SplashScreen.cs
- WebEventTraceProvider.cs
- HtmlImage.cs
- XmlReturnReader.cs
- DesignerVerbCollection.cs
- AssociationEndMember.cs
- OdbcUtils.cs
- SecuritySessionSecurityTokenProvider.cs
- InkCanvas.cs
- SqlFlattener.cs
- KeyTime.cs
- PathStreamGeometryContext.cs
- DynamicResourceExtensionConverter.cs
- TypeConverter.cs
- JsonReader.cs
- DataTableMappingCollection.cs
- WpfXamlType.cs
- CommandValueSerializer.cs
- storepermission.cs
- RecognizerInfo.cs