Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / DetailsViewModeEventArgs.cs / 1 / DetailsViewModeEventArgs.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 DetailsViewModeEventArgs : CancelEventArgs { private DetailsViewMode _mode; private bool _cancelingEdit; ///Provides data for the ///event. /// public DetailsViewModeEventArgs(DetailsViewMode 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 DetailsViewMode NewMode { get { return _mode; } set { _mode = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets a DetailsViewMode 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 DetailsViewModeEventArgs : CancelEventArgs { private DetailsViewMode _mode; private bool _cancelingEdit; ///Provides data for the ///event. /// public DetailsViewModeEventArgs(DetailsViewMode 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 DetailsViewMode NewMode { get { return _mode; } set { _mode = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets a DetailsViewMode in the ///. This property is read-only.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProcessExitedException.cs
- TextTreeRootTextBlock.cs
- StrokeDescriptor.cs
- CriticalHandle.cs
- SimpleModelProvider.cs
- RequestCacheManager.cs
- DataError.cs
- WindowsTab.cs
- LocationSectionRecord.cs
- AudioFormatConverter.cs
- ApplicationDirectory.cs
- WebPartTransformerAttribute.cs
- StyleCollection.cs
- FolderBrowserDialog.cs
- DeadCharTextComposition.cs
- IndexOutOfRangeException.cs
- GridViewDeletedEventArgs.cs
- WebPartManager.cs
- compensatingcollection.cs
- SqlServices.cs
- UnsafeNetInfoNativeMethods.cs
- Compiler.cs
- ReachDocumentSequenceSerializerAsync.cs
- TypeForwardedFromAttribute.cs
- LayoutDump.cs
- XmlWrappingReader.cs
- PathSegmentCollection.cs
- FontStretchConverter.cs
- SByteConverter.cs
- GeneralEndpointIdentity.cs
- GridViewDeletedEventArgs.cs
- SchemaImporter.cs
- BitmapMetadataEnumerator.cs
- WebPartConnectionCollection.cs
- Message.cs
- ApplicationActivator.cs
- SkipStoryboardToFill.cs
- SoapAttributeOverrides.cs
- HtmlTernaryTree.cs
- glyphs.cs
- ExpressionParser.cs
- AudioException.cs
- Matrix3DStack.cs
- ObjectCacheSettings.cs
- Relationship.cs
- RegionIterator.cs
- MissingManifestResourceException.cs
- ObjectHandle.cs
- SessionStateUtil.cs
- ExpressionQuoter.cs
- NumberFormatter.cs
- Authorization.cs
- NullableLongMinMaxAggregationOperator.cs
- XmlIncludeAttribute.cs
- DnsEndPoint.cs
- invalidudtexception.cs
- DictionaryBase.cs
- RegexParser.cs
- Calendar.cs
- Regex.cs
- TTSEngineTypes.cs
- EventProvider.cs
- XmlValidatingReaderImpl.cs
- wgx_sdk_version.cs
- Propagator.JoinPropagator.cs
- Geometry3D.cs
- ActivityXRefConverter.cs
- SingleStorage.cs
- EntityContainerEmitter.cs
- ControlDesignerState.cs
- ObjectListFieldCollection.cs
- SmtpException.cs
- ServicePrincipalNameElement.cs
- WindowShowOrOpenTracker.cs
- ServiceModelReg.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- XamlContextStack.cs
- SafeProcessHandle.cs
- OutputWindow.cs
- HelloMessage11.cs
- MimeTypeMapper.cs
- ImageList.cs
- TextEndOfSegment.cs
- QilReplaceVisitor.cs
- DeclaredTypeValidator.cs
- QueryComponents.cs
- KeyGestureConverter.cs
- ToolStripArrowRenderEventArgs.cs
- EntityDataSourceColumn.cs
- PropertyGrid.cs
- HtmlControlPersistable.cs
- WebRequestModuleElementCollection.cs
- ToolStripLocationCancelEventArgs.cs
- AbstractDataSvcMapFileLoader.cs
- XmlNamedNodeMap.cs
- CommandManager.cs
- HyperLinkStyle.cs
- ReaderOutput.cs
- ArcSegment.cs
- NameValueSectionHandler.cs