Code:
/ FX-1434 / FX-1434 / 1.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
- CollectionBase.cs
- CmsUtils.cs
- RootProjectionNode.cs
- TextTreeFixupNode.cs
- ProfessionalColorTable.cs
- ISAPIWorkerRequest.cs
- UpdateCommand.cs
- InplaceBitmapMetadataWriter.cs
- ContainerUtilities.cs
- AuthStoreRoleProvider.cs
- PartialCachingAttribute.cs
- DataBindingList.cs
- Int32AnimationBase.cs
- StrongNamePublicKeyBlob.cs
- HttpHandlerAction.cs
- PageStatePersister.cs
- ReadOnlyTernaryTree.cs
- BitmapCodecInfo.cs
- FamilyMapCollection.cs
- ExclusiveHandleList.cs
- EdmToObjectNamespaceMap.cs
- Itemizer.cs
- VectorCollectionConverter.cs
- GridViewRowEventArgs.cs
- ListViewGroupConverter.cs
- ColorConvertedBitmapExtension.cs
- XmlILOptimizerVisitor.cs
- StructureChangedEventArgs.cs
- ScriptManagerProxy.cs
- EntityContainerEntitySet.cs
- DataSourceView.cs
- AuthenticateEventArgs.cs
- UIElementIsland.cs
- PropertyCondition.cs
- PassportAuthenticationEventArgs.cs
- PropertiesTab.cs
- EventProxy.cs
- XmlSerializerNamespaces.cs
- SimpleBitVector32.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TransformProviderWrapper.cs
- LoginView.cs
- DataControlReference.cs
- PropertyGeneratedEventArgs.cs
- Security.cs
- ScriptingJsonSerializationSection.cs
- PropertyRecord.cs
- ClipboardProcessor.cs
- SizeValueSerializer.cs
- HtmlAnchor.cs
- diagnosticsswitches.cs
- ClosableStream.cs
- PaintEvent.cs
- NullExtension.cs
- AbandonedMutexException.cs
- GridViewSelectEventArgs.cs
- LookupNode.cs
- DrawingContext.cs
- GcHandle.cs
- BitStack.cs
- PeekCompletedEventArgs.cs
- PropertyCollection.cs
- LinqDataSourceInsertEventArgs.cs
- SizeConverter.cs
- BatchWriter.cs
- altserialization.cs
- GridToolTip.cs
- TypeLibConverter.cs
- WebContext.cs
- PrivacyNoticeElement.cs
- SynchronizationLockException.cs
- AdornerHitTestResult.cs
- UIElement3D.cs
- XmlILIndex.cs
- Instrumentation.cs
- XmlQueryStaticData.cs
- DateTimeConstantAttribute.cs
- Run.cs
- IERequestCache.cs
- ProjectionCamera.cs
- Size3D.cs
- ComponentConverter.cs
- ToolStripActionList.cs
- SiteMapSection.cs
- CalculatedColumn.cs
- FamilyCollection.cs
- BinaryMessageEncodingElement.cs
- Double.cs
- WebConfigurationHost.cs
- GlobalEventManager.cs
- LogExtentCollection.cs
- TextElement.cs
- WebPartTransformer.cs
- CustomWebEventKey.cs
- VisemeEventArgs.cs
- Thumb.cs
- EntityDataSource.cs
- Image.cs
- OracleTimeSpan.cs
- MsmqIntegrationAppDomainProtocolHandler.cs