Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / PopupEventArgs.cs / 1 / PopupEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// This class contains the information a user needs to paint the ToolTip. /// public class PopupEventArgs : CancelEventArgs { private IWin32Window associatedWindow; private Size size; private Control associatedControl; private bool isBalloon; ////// /// Creates a new PopupEventArgs with the given parameters. /// public PopupEventArgs(IWin32Window associatedWindow, Control associatedControl, bool isBalloon, Size size) { this.associatedWindow = associatedWindow; this.size = size; this.associatedControl = associatedControl; this.isBalloon = isBalloon; } ////// /// The Associated Window for which the tooltip is being painted. /// public IWin32Window AssociatedWindow { get { return associatedWindow; } } ////// /// The control for which the tooltip is being painted. /// public Control AssociatedControl { get { return associatedControl; } } ////// /// Whether the tooltip is Ballooned. /// public bool IsBalloon { get { return isBalloon; } } ////// /// The rectangle outlining the area in which the painting should be done. /// public Size ToolTipSize { get { return size; } set { size = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsContainer.cs
- HttpConfigurationContext.cs
- Enum.cs
- NameSpaceExtractor.cs
- PolicyStatement.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- TextRunTypographyProperties.cs
- figurelength.cs
- BindValidationContext.cs
- NullPackagingPolicy.cs
- GeometryDrawing.cs
- SourceItem.cs
- WebPartPersonalization.cs
- UnregisterInfo.cs
- ProtectedProviderSettings.cs
- StorageModelBuildProvider.cs
- ContentDisposition.cs
- AuthorizationSection.cs
- securitycriticaldataformultiplegetandset.cs
- HttpWebRequestElement.cs
- QuaternionConverter.cs
- SystemIPv4InterfaceProperties.cs
- BasicDesignerLoader.cs
- TextRangeSerialization.cs
- infer.cs
- dbdatarecord.cs
- ToolboxDataAttribute.cs
- WmlValidatorAdapter.cs
- RedBlackList.cs
- DateTime.cs
- BaseTemplateCodeDomTreeGenerator.cs
- HttpsTransportBindingElement.cs
- BitmapScalingModeValidation.cs
- Oid.cs
- TransformerTypeCollection.cs
- XmlValueConverter.cs
- TemplateInstanceAttribute.cs
- TypedReference.cs
- PointLight.cs
- VirtualizedCellInfoCollection.cs
- AsynchronousChannel.cs
- DoubleUtil.cs
- Margins.cs
- PagerSettings.cs
- FontUnitConverter.cs
- EventBuilder.cs
- ContentPresenter.cs
- InvalidDataException.cs
- SourceFilter.cs
- base64Transforms.cs
- RadioButtonList.cs
- Expression.cs
- TabletCollection.cs
- EventSinkHelperWriter.cs
- StyleHelper.cs
- Lasso.cs
- LoginAutoFormat.cs
- WebContext.cs
- DataServiceClientException.cs
- TextBounds.cs
- ConfigurationValidatorBase.cs
- Gdiplus.cs
- ObjectConverter.cs
- MessageFormatterConverter.cs
- ListBoxAutomationPeer.cs
- DependencyPropertyDescriptor.cs
- SettingsSection.cs
- AvTraceDetails.cs
- ContentTextAutomationPeer.cs
- BatchServiceHost.cs
- LocalServiceSecuritySettingsElement.cs
- DispatcherExceptionEventArgs.cs
- XmlDownloadManager.cs
- ToolStripControlHost.cs
- SerializationException.cs
- PriorityQueue.cs
- ClientScriptItemCollection.cs
- SystemUnicastIPAddressInformation.cs
- BufferedWebEventProvider.cs
- TripleDESCryptoServiceProvider.cs
- PageEventArgs.cs
- EnglishPluralizationService.cs
- MsdtcWrapper.cs
- HandleRef.cs
- SqlMethodAttribute.cs
- RepeaterCommandEventArgs.cs
- cookiecontainer.cs
- DoubleStorage.cs
- DebugView.cs
- DynamicResourceExtensionConverter.cs
- DataGridrowEditEndingEventArgs.cs
- CellConstantDomain.cs
- FileDialog.cs
- UriTemplateTableMatchCandidate.cs
- FileSystemWatcher.cs
- ChannelListenerBase.cs
- ProcessHostFactoryHelper.cs
- OdbcErrorCollection.cs
- ControlBuilderAttribute.cs
- DeviceSpecificChoiceCollection.cs