Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripItemRenderEventArgs.cs / 1305376 / ToolStripItemRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// public class ToolStripItemRenderEventArgs : EventArgs { private ToolStripItem item = null; private Graphics graphics = null; /// /// /// This class represents all the information to render the winbar /// public ToolStripItemRenderEventArgs(Graphics g, ToolStripItem item) { this.item = item; this.graphics = g; } ////// /// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// /// the item to draw /// public ToolStripItem Item { get { return item; } } ////// /// The toolstrip the item is currently parented to /// public ToolStrip ToolStrip { get { return item.ParentInternal; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeViewHitTestInfo.cs
- activationcontext.cs
- GridViewRowCollection.cs
- EntityCommand.cs
- PrimitiveCodeDomSerializer.cs
- EventProperty.cs
- Section.cs
- ProfilePropertyNameValidator.cs
- DrawingCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- BrowserCapabilitiesCompiler.cs
- ComEventsInfo.cs
- EventDescriptor.cs
- GifBitmapEncoder.cs
- RowUpdatedEventArgs.cs
- ContentType.cs
- WindowsStartMenu.cs
- httpapplicationstate.cs
- StrongNameIdentityPermission.cs
- Menu.cs
- JapaneseLunisolarCalendar.cs
- BinHexEncoder.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- RequestValidator.cs
- RichTextBoxDesigner.cs
- MenuCommand.cs
- StrokeIntersection.cs
- ListMarkerLine.cs
- ControlTemplate.cs
- QueryUtil.cs
- PropertyRef.cs
- Property.cs
- PromptEventArgs.cs
- DesigntimeLicenseContext.cs
- ClonableStack.cs
- AbandonedMutexException.cs
- AttributeSetAction.cs
- BaseComponentEditor.cs
- MetadataHelper.cs
- DependencyProperty.cs
- BrowserDefinition.cs
- ConstraintStruct.cs
- AnchoredBlock.cs
- ToolboxItemFilterAttribute.cs
- PolyQuadraticBezierSegment.cs
- TextFormattingConverter.cs
- Trace.cs
- RoleGroupCollection.cs
- TypeExtensionSerializer.cs
- SqlNotificationEventArgs.cs
- TriggerActionCollection.cs
- StreamUpgradeProvider.cs
- DataGridCaption.cs
- Table.cs
- AsymmetricSignatureDeformatter.cs
- TextRenderer.cs
- BitmapMetadataBlob.cs
- StylusTip.cs
- SqlDependency.cs
- WebScriptServiceHost.cs
- CommandHelpers.cs
- InvokeHandlers.cs
- CommandID.cs
- GroupByExpressionRewriter.cs
- Vector3DAnimationBase.cs
- DataServiceHost.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- ProfileParameter.cs
- CompiledAction.cs
- WebBrowserContainer.cs
- TablePattern.cs
- securitycriticaldata.cs
- Thread.cs
- CollectionDataContractAttribute.cs
- FormsAuthenticationTicket.cs
- PropertyIDSet.cs
- InvokeDelegate.cs
- WebPartTransformerAttribute.cs
- DecoderFallbackWithFailureFlag.cs
- PhonemeConverter.cs
- DefaultAutoFieldGenerator.cs
- SQLBytes.cs
- CodeBlockBuilder.cs
- EntityDataSourceQueryBuilder.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- MD5Cng.cs
- EditorOptionAttribute.cs
- ContentValidator.cs
- BatchStream.cs
- ChineseLunisolarCalendar.cs
- WindowsClaimSet.cs
- newinstructionaction.cs
- XhtmlConformanceSection.cs
- Menu.cs
- DataGridViewRow.cs
- WebReferencesBuildProvider.cs
- FlatButtonAppearance.cs
- SamlAudienceRestrictionCondition.cs
- ProxyWebPart.cs
- ProfileGroupSettingsCollection.cs