Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripArrowRenderEventArgs.cs / 1305376 / ToolStripArrowRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ///public class ToolStripArrowRenderEventArgs : EventArgs { private Graphics graphics = null; private Rectangle arrowRect = Rectangle.Empty; private Color arrowColor = Color.Empty; private Color defaultArrowColor = Color.Empty; private ArrowDirection arrowDirection = ArrowDirection.Down; private ToolStripItem item = null; private bool arrowColorChanged = false; /// public ToolStripArrowRenderEventArgs(Graphics g, ToolStripItem toolStripItem, Rectangle arrowRectangle, Color arrowColor, ArrowDirection arrowDirection) { this.item = toolStripItem; this.graphics = g; this.arrowRect = arrowRectangle; this.defaultArrowColor = arrowColor; this.arrowDirection = arrowDirection; } /// public Rectangle ArrowRectangle { get { return arrowRect; } set { arrowRect = value; } } /// public Color ArrowColor { get { if (arrowColorChanged) { return arrowColor; } return DefaultArrowColor; } set { arrowColor = value; arrowColorChanged = true; } } internal Color DefaultArrowColor { get { return defaultArrowColor; } set { defaultArrowColor = value; } } /// public ArrowDirection Direction { get { return arrowDirection; } set { arrowDirection = value; } } /// public Graphics Graphics { get { return graphics; } } /// public ToolStripItem Item { get { return item; } } } } // 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
- ClientSettingsStore.cs
- TypographyProperties.cs
- Membership.cs
- DataGridViewTextBoxCell.cs
- TailPinnedEventArgs.cs
- SoapSchemaImporter.cs
- SqlDataSourceView.cs
- Math.cs
- WebHttpBindingCollectionElement.cs
- HyperLinkStyle.cs
- DocumentCollection.cs
- UrlMapping.cs
- Stack.cs
- StreamWithDictionary.cs
- PatternMatchRules.cs
- Exceptions.cs
- XmlResolver.cs
- PkcsUtils.cs
- PeerApplicationLaunchInfo.cs
- Propagator.JoinPropagator.cs
- IOException.cs
- SqlFunctions.cs
- TableItemPatternIdentifiers.cs
- SQLDoubleStorage.cs
- CommonObjectSecurity.cs
- OleTxTransaction.cs
- Int16Converter.cs
- ObjectDataSourceView.cs
- BooleanStorage.cs
- NetworkInformationException.cs
- HttpProfileGroupBase.cs
- AuthenticationManager.cs
- SkipStoryboardToFill.cs
- LiteralTextContainerControlBuilder.cs
- HtmlEmptyTagControlBuilder.cs
- AggregateException.cs
- EmitterCache.cs
- CfgArc.cs
- TraceHwndHost.cs
- TimeSpanMinutesConverter.cs
- DataGridViewColumn.cs
- Base64Decoder.cs
- MenuRendererClassic.cs
- WindowsGraphics2.cs
- DelegateSerializationHolder.cs
- CompilationSection.cs
- NonSerializedAttribute.cs
- PauseStoryboard.cs
- RankException.cs
- UiaCoreProviderApi.cs
- OrderedDictionary.cs
- AsyncOperationManager.cs
- TextViewBase.cs
- WSDualHttpBindingElement.cs
- FrameworkContentElement.cs
- Icon.cs
- MetabaseServerConfig.cs
- Selector.cs
- WSFederationHttpSecurity.cs
- ValueUnavailableException.cs
- ReferentialConstraint.cs
- PointLight.cs
- NeedSkipTokenVisitor.cs
- UserControlAutomationPeer.cs
- NavigationPropertyEmitter.cs
- ModelVisual3D.cs
- MergePropertyDescriptor.cs
- ScaleTransform3D.cs
- ZipIOCentralDirectoryBlock.cs
- IxmlLineInfo.cs
- HttpCookiesSection.cs
- FileChangesMonitor.cs
- RankException.cs
- JsonEncodingStreamWrapper.cs
- Converter.cs
- ProxyGenerator.cs
- GcSettings.cs
- JavaScriptObjectDeserializer.cs
- DeflateStream.cs
- BackgroundFormatInfo.cs
- PagesSection.cs
- OleDbEnumerator.cs
- HttpCacheVaryByContentEncodings.cs
- CriticalFinalizerObject.cs
- CompositeScriptReference.cs
- SafeCertificateContext.cs
- DocumentPageView.cs
- FontEmbeddingManager.cs
- ColumnReorderedEventArgs.cs
- WebPartConnectionsCancelVerb.cs
- StyleHelper.cs
- SafeRightsManagementSessionHandle.cs
- DataGridViewDataErrorEventArgs.cs
- TaskExtensions.cs
- QueryReaderSettings.cs
- DuplicateMessageDetector.cs
- SurrogateEncoder.cs
- PrincipalPermission.cs
- PropertyConverter.cs
- HMACSHA1.cs