Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / HandledEventArgs.cs / 1 / HandledEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Diagnostics; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] public class HandledEventArgs : EventArgs { ////// Provides data for the ////// event. /// /// Indicates, on return, whether or not the event was handled in the application's event handler. /// 'true' means the application handled the event, 'false' means it didn't. /// private bool handled; ////// public HandledEventArgs() : this(false) { } ////// Initializes a new instance of the ///class with /// handled set to . /// /// public HandledEventArgs(bool defaultHandledValue) : base() { this.handled = defaultHandledValue; } ////// Initializes a new instance of the ///class with /// handled set to the given value. /// /// public bool Handled { get { return this.handled; } set { this.handled = value; } } } }/// Gets or sets a value /// indicating whether the event is handled. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AdCreatedEventArgs.cs
- InterleavedZipPartStream.cs
- NoneExcludedImageIndexConverter.cs
- PropertyChangedEventArgs.cs
- SqlProcedureAttribute.cs
- RangeValidator.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- XpsDocumentEvent.cs
- ColorAnimation.cs
- RequestContext.cs
- ConnectionStringSettingsCollection.cs
- DataTableReader.cs
- ComPlusInstanceProvider.cs
- SkipStoryboardToFill.cs
- WsdlHelpGeneratorElement.cs
- RegularExpressionValidator.cs
- RegexBoyerMoore.cs
- TabRenderer.cs
- TemplateManager.cs
- ByteStorage.cs
- AnnotationResourceChangedEventArgs.cs
- Matrix.cs
- CodeArgumentReferenceExpression.cs
- TypeHelpers.cs
- Catch.cs
- DbUpdateCommandTree.cs
- WindowsBrush.cs
- LabelAutomationPeer.cs
- ChangeTracker.cs
- DrawingImage.cs
- FirewallWrapper.cs
- SQLStringStorage.cs
- Sentence.cs
- SplitterCancelEvent.cs
- WriterOutput.cs
- ConcurrentBag.cs
- HttpsHostedTransportConfiguration.cs
- ApplicationId.cs
- NameTable.cs
- IdentityReference.cs
- Models.cs
- WebPartDescriptionCollection.cs
- StringComparer.cs
- PartialList.cs
- HotSpotCollectionEditor.cs
- Condition.cs
- MSG.cs
- System.Data_BID.cs
- ColumnCollectionEditor.cs
- RowToFieldTransformer.cs
- XmlWrappingWriter.cs
- Function.cs
- SizeIndependentAnimationStorage.cs
- SearchForVirtualItemEventArgs.cs
- GrammarBuilderRuleRef.cs
- TextRunCache.cs
- ResolveResponseInfo.cs
- XmlQualifiedName.cs
- PropertyCondition.cs
- AddInSegmentDirectoryNotFoundException.cs
- _SslStream.cs
- TableDetailsRow.cs
- DataBindingExpressionBuilder.cs
- AnonymousIdentificationSection.cs
- SqlVisitor.cs
- AllMembershipCondition.cs
- MemoryMappedViewStream.cs
- Int64Storage.cs
- FontEmbeddingManager.cs
- PersonalizationProviderHelper.cs
- AuthorizationRuleCollection.cs
- CryptoKeySecurity.cs
- FontCacheUtil.cs
- ClientTargetSection.cs
- OleDbConnectionFactory.cs
- EmissiveMaterial.cs
- PrintDocument.cs
- Literal.cs
- ErrorTolerantObjectWriter.cs
- RadialGradientBrush.cs
- Misc.cs
- EndGetFileNameFromUserRequest.cs
- RefreshPropertiesAttribute.cs
- DataGridViewTextBoxCell.cs
- XmlWrappingReader.cs
- XmlAttribute.cs
- SymDocumentType.cs
- MetadataCollection.cs
- XmlMapping.cs
- CompositeScriptReferenceEventArgs.cs
- CaseStatementProjectedSlot.cs
- PolicyManager.cs
- LockCookie.cs
- UnknownBitmapDecoder.cs
- XmlSchemaRedefine.cs
- WinInet.cs
- InternalCache.cs
- SqlMetaData.cs
- FacetDescription.cs