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
- XmlSchemaAny.cs
- XsdDateTime.cs
- RichListBox.cs
- SqlConnectionPoolProviderInfo.cs
- XmlValidatingReader.cs
- ExtenderProvidedPropertyAttribute.cs
- ImageSource.cs
- NamespaceExpr.cs
- BaseAsyncResult.cs
- DependencyObject.cs
- PopupControlService.cs
- SQLRoleProvider.cs
- RecipientInfo.cs
- GradientStop.cs
- MatrixTransform.cs
- RuntimeTransactionHandle.cs
- TableLayoutRowStyleCollection.cs
- ReadWriteObjectLock.cs
- IisTraceWebEventProvider.cs
- IEnumerable.cs
- TrackingCondition.cs
- SizeF.cs
- ArglessEventHandlerProxy.cs
- DisposableCollectionWrapper.cs
- OleDbCommand.cs
- DebugHandleTracker.cs
- WebPartDisplayModeEventArgs.cs
- SchemaAttDef.cs
- CultureMapper.cs
- AggregationMinMaxHelpers.cs
- DesignTimeVisibleAttribute.cs
- TextOutput.cs
- PageAdapter.cs
- RtType.cs
- ToolBarPanel.cs
- ClientScriptManager.cs
- XmlArrayAttribute.cs
- SamlSecurityTokenAuthenticator.cs
- TableItemProviderWrapper.cs
- ChannelCredentials.cs
- HttpModulesSection.cs
- validation.cs
- ConnectionManagementSection.cs
- TypeElement.cs
- SmiEventSink_DeferedProcessing.cs
- ConditionBrowserDialog.cs
- ServiceAuthorizationElement.cs
- CannotUnloadAppDomainException.cs
- MouseEvent.cs
- OracleDateTime.cs
- documentsequencetextpointer.cs
- xsdvalidator.cs
- AnnotationMap.cs
- HeaderLabel.cs
- RepeatButton.cs
- InkCanvasSelection.cs
- MD5Cng.cs
- RuleSettings.cs
- Internal.cs
- TransactionFlowProperty.cs
- ApplicationTrust.cs
- TypeConverterHelper.cs
- LabelLiteral.cs
- PropertyItemInternal.cs
- TextEditorMouse.cs
- ImageDrawing.cs
- ReachObjectContext.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- HttpCookiesSection.cs
- ImageKeyConverter.cs
- TypeConverterAttribute.cs
- DynamicUpdateCommand.cs
- DeclaredTypeValidatorAttribute.cs
- ArrayWithOffset.cs
- InspectionWorker.cs
- JsonObjectDataContract.cs
- XmlEventCache.cs
- HttpPostProtocolReflector.cs
- FixedLineResult.cs
- ToolBarPanel.cs
- CultureInfoConverter.cs
- NumericUpDownAccelerationCollection.cs
- ZoneMembershipCondition.cs
- RemotingConfigParser.cs
- SqlConnectionManager.cs
- DataGridTable.cs
- ListViewGroup.cs
- LineMetrics.cs
- ColorAnimationBase.cs
- MulticastDelegate.cs
- MaterialGroup.cs
- TextUtf8RawTextWriter.cs
- SqlGatherProducedAliases.cs
- EdmItemError.cs
- PropertyDescriptor.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- DesignTimeValidationFeature.cs
- DbConnectionInternal.cs
- XmlSerializerAssemblyAttribute.cs
- formatstringdialog.cs