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
- DrawingCollection.cs
- CodeAttributeDeclarationCollection.cs
- RSAPKCS1SignatureFormatter.cs
- ObjectDataSourceSelectingEventArgs.cs
- HandlerWithFactory.cs
- PropertyItem.cs
- TabPanel.cs
- RequestCacheValidator.cs
- OrderByQueryOptionExpression.cs
- Sequence.cs
- SetterTriggerConditionValueConverter.cs
- TemplatedAdorner.cs
- GrabHandleGlyph.cs
- ResourceCollectionInfo.cs
- EdmComplexPropertyAttribute.cs
- ExtendedProperty.cs
- ListComponentEditorPage.cs
- Viewport3DAutomationPeer.cs
- SqlFacetAttribute.cs
- ChtmlMobileTextWriter.cs
- BitmapEffectCollection.cs
- PartitionResolver.cs
- EventEntry.cs
- DataServiceStreamResponse.cs
- HttpWebRequest.cs
- GcSettings.cs
- NullableBoolConverter.cs
- ClientScriptManager.cs
- PathFigureCollection.cs
- SqlProvider.cs
- XmlSchemaCompilationSettings.cs
- DesignerDataRelationship.cs
- DictionaryManager.cs
- ipaddressinformationcollection.cs
- OrderedDictionaryStateHelper.cs
- AssemblyHelper.cs
- x509utils.cs
- Adorner.cs
- ItemType.cs
- PackagePartCollection.cs
- BookmarkResumptionRecord.cs
- CodeVariableReferenceExpression.cs
- DynamicField.cs
- DisposableCollectionWrapper.cs
- XamlStream.cs
- BookmarkEventArgs.cs
- FixedPageAutomationPeer.cs
- PolicyLevel.cs
- ImageListStreamer.cs
- ErrorStyle.cs
- ListenerElementsCollection.cs
- ThreadStaticAttribute.cs
- SqlPersonalizationProvider.cs
- ToolStripPanelRenderEventArgs.cs
- SignatureConfirmations.cs
- GroupDescription.cs
- Event.cs
- ListViewSelectEventArgs.cs
- ServiceRouteHandler.cs
- Scripts.cs
- SafeProcessHandle.cs
- followingquery.cs
- GPRECTF.cs
- ObjectDataSourceStatusEventArgs.cs
- ContainerActivationHelper.cs
- SqlDataSourceAdvancedOptionsForm.cs
- MetaForeignKeyColumn.cs
- BamlWriter.cs
- ContentElement.cs
- Point4D.cs
- EditorBrowsableAttribute.cs
- InvalidFilterCriteriaException.cs
- SectionInformation.cs
- DataKey.cs
- ExpandCollapseProviderWrapper.cs
- PropertyEmitterBase.cs
- ObjectManager.cs
- PrintController.cs
- DataGridViewRowPrePaintEventArgs.cs
- TextBoxView.cs
- ResourceDisplayNameAttribute.cs
- DbInsertCommandTree.cs
- QilUnary.cs
- ScriptServiceAttribute.cs
- MemberJoinTreeNode.cs
- WebBrowser.cs
- DesignRelation.cs
- CustomValidator.cs
- RowUpdatedEventArgs.cs
- FixedFlowMap.cs
- ServicePerformanceCounters.cs
- DetailsViewInsertEventArgs.cs
- DocumentReference.cs
- SmiContextFactory.cs
- MetaColumn.cs
- StylusPoint.cs
- NumericUpDownAcceleration.cs
- QueryContext.cs
- DebugHandleTracker.cs
- WindowsRegion.cs