Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RegexMatchCollection.cs
- NetworkAddressChange.cs
- TextStore.cs
- SmiGettersStream.cs
- WindowsAuthenticationEventArgs.cs
- StorageEntityTypeMapping.cs
- StatusBarDrawItemEvent.cs
- MultipleViewProviderWrapper.cs
- SafeLocalAllocation.cs
- Aggregates.cs
- DataColumnCollection.cs
- PrePostDescendentsWalker.cs
- DateTimeConverter2.cs
- DesignerRegion.cs
- GatewayIPAddressInformationCollection.cs
- AttributeUsageAttribute.cs
- XmlEncodedRawTextWriter.cs
- ActiveXHost.cs
- PrintDialogDesigner.cs
- ObjectStorage.cs
- Helper.cs
- IgnoreFlushAndCloseStream.cs
- DataColumnChangeEvent.cs
- ApplicationSecurityInfo.cs
- AuthenticationService.cs
- LogSwitch.cs
- Command.cs
- ExpressionNode.cs
- VariableAction.cs
- SyntaxCheck.cs
- EventMemberCodeDomSerializer.cs
- SetIterators.cs
- ProtocolViolationException.cs
- precedingquery.cs
- XmlSchemaInfo.cs
- __ConsoleStream.cs
- InvalidMessageContractException.cs
- PrintDialog.cs
- DrawingGroup.cs
- GlobalItem.cs
- IDispatchConstantAttribute.cs
- dataprotectionpermissionattribute.cs
- LazyTextWriterCreator.cs
- XmlSerializationWriter.cs
- DataViewManagerListItemTypeDescriptor.cs
- XmlWhitespace.cs
- DependencyPropertyChangedEventArgs.cs
- CompositionAdorner.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ImageDesigner.cs
- MenuItemAutomationPeer.cs
- UIEndRequest.cs
- TouchesOverProperty.cs
- ProtocolElement.cs
- TextTreeInsertUndoUnit.cs
- Axis.cs
- TypeBuilderInstantiation.cs
- DocComment.cs
- Expander.cs
- TrackingExtract.cs
- CatalogPartCollection.cs
- BindingElementExtensionElement.cs
- MethodAccessException.cs
- WindowsPen.cs
- EntityContainerEntitySetDefiningQuery.cs
- SelectionRange.cs
- PEFileEvidenceFactory.cs
- StringAnimationUsingKeyFrames.cs
- BatchStream.cs
- CodeIdentifier.cs
- BitmapPalette.cs
- TreeNode.cs
- DataExpression.cs
- FontInfo.cs
- CharConverter.cs
- AttachedPropertyBrowsableAttribute.cs
- FacetValueContainer.cs
- CombinedGeometry.cs
- EditingCommands.cs
- PagePropertiesChangingEventArgs.cs
- ContentAlignmentEditor.cs
- SchemaMapping.cs
- HandlerFactoryWrapper.cs
- TraceRecord.cs
- DbConnectionFactory.cs
- PropertyDescriptor.cs
- TargetException.cs
- MessageBox.cs
- QilParameter.cs
- WebPartActionVerb.cs
- BCLDebug.cs
- _AutoWebProxyScriptEngine.cs
- SettingsProperty.cs
- MulticastOption.cs
- VarRemapper.cs
- StatusBar.cs
- SystemInformation.cs
- TypeUsage.cs
- SqlNodeAnnotation.cs
- ClosableStream.cs