Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripArrowRenderEventArgs.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SQLMoneyStorage.cs
- SQLBinary.cs
- DataListItem.cs
- Attributes.cs
- ProtocolViolationException.cs
- _HeaderInfo.cs
- HttpRequestMessageProperty.cs
- DataGridHyperlinkColumn.cs
- ExpressionBuilder.cs
- OleDbMetaDataFactory.cs
- EngineSite.cs
- TypeForwardedFromAttribute.cs
- VirtualPathUtility.cs
- XhtmlBasicListAdapter.cs
- ResourceAssociationSet.cs
- PerformanceCounterManager.cs
- TextSelectionHighlightLayer.cs
- CompositeTypefaceMetrics.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DataGridViewRowPostPaintEventArgs.cs
- MonitoringDescriptionAttribute.cs
- TempEnvironment.cs
- SqlCacheDependency.cs
- DataGridViewColumnEventArgs.cs
- BuildResult.cs
- InfoCardProofToken.cs
- OdbcException.cs
- BaseParser.cs
- WebPartRestoreVerb.cs
- NativeMethods.cs
- ResourceManager.cs
- ValidateNames.cs
- XmlParserContext.cs
- EncodingDataItem.cs
- ToolStripItemGlyph.cs
- DefaultMemberAttribute.cs
- FrameworkTextComposition.cs
- Expr.cs
- ScriptDescriptor.cs
- Brush.cs
- ArrayWithOffset.cs
- TrackingStringDictionary.cs
- Wizard.cs
- ClientTarget.cs
- CodeSnippetTypeMember.cs
- ToggleButtonAutomationPeer.cs
- SafeMILHandle.cs
- CacheSection.cs
- LinearKeyFrames.cs
- NonPrimarySelectionGlyph.cs
- ValidationErrorCollection.cs
- SymbolTable.cs
- RootNamespaceAttribute.cs
- SoapTypeAttribute.cs
- CompositeCollectionView.cs
- ADConnectionHelper.cs
- SQLInt16.cs
- RequestChannelBinder.cs
- COM2TypeInfoProcessor.cs
- StyleBamlRecordReader.cs
- ComContractElement.cs
- RoutedEventValueSerializer.cs
- SimpleWebHandlerParser.cs
- TableItemProviderWrapper.cs
- RegexGroupCollection.cs
- ManagementPath.cs
- StatusStrip.cs
- MetadataItemCollectionFactory.cs
- GenericEnumerator.cs
- ServiceBuildProvider.cs
- SystemInfo.cs
- Schedule.cs
- DataViewManager.cs
- ContextInformation.cs
- ViewBase.cs
- RsaSecurityToken.cs
- UnicastIPAddressInformationCollection.cs
- UnsafeNativeMethods.cs
- Baml2006ReaderFrame.cs
- TextRangeProviderWrapper.cs
- XmlNodeReader.cs
- Win32PrintDialog.cs
- XmlSchemaAny.cs
- RuntimeArgumentHandle.cs
- _FtpControlStream.cs
- Point4DValueSerializer.cs
- MaskedTextBoxDesignerActionList.cs
- InvokeHandlers.cs
- PackageDigitalSignature.cs
- Utilities.cs
- DesignerToolStripControlHost.cs
- DefaultShape.cs
- NotificationContext.cs
- ListViewCommandEventArgs.cs
- PeerNameRegistration.cs
- HttpCookie.cs
- TypeExtension.cs
- VectorAnimation.cs
- processwaithandle.cs
- DotExpr.cs