Code:
/ DotNET / DotNET / 8.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
- UserPreferenceChangingEventArgs.cs
- VectorAnimationBase.cs
- XmlSchemaSet.cs
- ExtenderProvidedPropertyAttribute.cs
- UpdatePanelControlTrigger.cs
- ServiceProviders.cs
- DataServiceConfiguration.cs
- BindingSource.cs
- PointConverter.cs
- MouseDevice.cs
- ClientSettingsProvider.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- MultiSelectRootGridEntry.cs
- BooleanSwitch.cs
- GlyphRunDrawing.cs
- SystemWebCachingSectionGroup.cs
- StoreAnnotationsMap.cs
- TextServicesManager.cs
- Rules.cs
- HandlerWithFactory.cs
- SvcMapFile.cs
- Util.cs
- WindowShowOrOpenTracker.cs
- FactoryId.cs
- Calendar.cs
- RoutedUICommand.cs
- BindingSource.cs
- FormClosedEvent.cs
- CmsInterop.cs
- FloaterParagraph.cs
- SerializationAttributes.cs
- ReplyAdapterChannelListener.cs
- WindowsScrollBar.cs
- DispatcherProcessingDisabled.cs
- EllipticalNodeOperations.cs
- XPathNodeList.cs
- AbandonedMutexException.cs
- AuthenticationModuleElementCollection.cs
- StateMachineExecutionState.cs
- ExpressionEditorSheet.cs
- ViewGenResults.cs
- FileSystemEventArgs.cs
- SkewTransform.cs
- SID.cs
- TextRunTypographyProperties.cs
- DelayedRegex.cs
- ChtmlSelectionListAdapter.cs
- LinearGradientBrush.cs
- ListBindableAttribute.cs
- ValidationErrorEventArgs.cs
- HyperLinkDataBindingHandler.cs
- SqlInternalConnection.cs
- GlyphInfoList.cs
- RpcAsyncResult.cs
- Directory.cs
- Unit.cs
- RangeBaseAutomationPeer.cs
- BaseServiceProvider.cs
- XmlSchemaValidationException.cs
- QueryAccessibilityHelpEvent.cs
- HttpHandlersSection.cs
- XhtmlBasicLiteralTextAdapter.cs
- RouteItem.cs
- CodeIdentifiers.cs
- FontInfo.cs
- CalendarModeChangedEventArgs.cs
- HScrollBar.cs
- SiteMapDataSourceView.cs
- MediaPlayer.cs
- DataGridViewAdvancedBorderStyle.cs
- XmlSerializerSection.cs
- DefaultValidator.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- SudsWriter.cs
- Typeface.cs
- _CacheStreams.cs
- GridViewSortEventArgs.cs
- HttpAsyncResult.cs
- MsmqProcessProtocolHandler.cs
- Attributes.cs
- URLIdentityPermission.cs
- SaveFileDialog.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ProfileInfo.cs
- DecimalStorage.cs
- ProfessionalColorTable.cs
- TextSearch.cs
- Events.cs
- SqlRecordBuffer.cs
- ImageListStreamer.cs
- WinEventTracker.cs
- GZipDecoder.cs
- RecordConverter.cs
- FilterElement.cs
- DescendentsWalker.cs
- PassportAuthentication.cs
- EntityDataSourceDesigner.cs
- NavigatingCancelEventArgs.cs
- HtmlControlPersistable.cs
- ObjectListDataBindEventArgs.cs