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
- TokenBasedSetEnumerator.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- PropertyPathConverter.cs
- UseLicense.cs
- TreeIterators.cs
- FacetValues.cs
- serverconfig.cs
- SQLInt32Storage.cs
- EllipseGeometry.cs
- ReadOnlyNameValueCollection.cs
- LinqDataSourceView.cs
- PropertyInformation.cs
- AndCondition.cs
- MethodBuilderInstantiation.cs
- CancelEventArgs.cs
- _AcceptOverlappedAsyncResult.cs
- RestHandlerFactory.cs
- ImageButton.cs
- ReversePositionQuery.cs
- StringToken.cs
- SerializationBinder.cs
- DocumentPaginator.cs
- _DomainName.cs
- HtmlGenericControl.cs
- RequestStatusBarUpdateEventArgs.cs
- ClassicBorderDecorator.cs
- unsafeIndexingFilterStream.cs
- XomlCompiler.cs
- Int32KeyFrameCollection.cs
- TimeSpanStorage.cs
- InternalControlCollection.cs
- SetStoryboardSpeedRatio.cs
- DataGridToolTip.cs
- OrthographicCamera.cs
- MultiPageTextView.cs
- ClientFactory.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- SID.cs
- Timeline.cs
- ConfigurationSection.cs
- ResourceProperty.cs
- VolatileEnlistmentState.cs
- TdsEnums.cs
- KeyInstance.cs
- ProtocolsConfigurationHandler.cs
- ManipulationPivot.cs
- DSACryptoServiceProvider.cs
- ToolStripSplitStackLayout.cs
- GeneratedCodeAttribute.cs
- SecurityDescriptor.cs
- QilPatternFactory.cs
- sqlpipe.cs
- Lease.cs
- FixedMaxHeap.cs
- XmlCDATASection.cs
- DataGridViewButtonCell.cs
- Predicate.cs
- LabelAutomationPeer.cs
- GPRECT.cs
- MimeParameterWriter.cs
- Regex.cs
- WindowsComboBox.cs
- AggregateException.cs
- CFStream.cs
- DataPointer.cs
- PersonalizationProvider.cs
- ObjectResult.cs
- DBProviderConfigurationHandler.cs
- ListViewInsertEventArgs.cs
- QilReplaceVisitor.cs
- NamespaceEmitter.cs
- DynamicMetaObjectBinder.cs
- SocketInformation.cs
- DataTrigger.cs
- SetIterators.cs
- ResourceAttributes.cs
- MdImport.cs
- SchemaTypeEmitter.cs
- TransactionFlowElement.cs
- MemberAccessException.cs
- XmlWriter.cs
- UnknownBitmapEncoder.cs
- RuleSettings.cs
- SqlInfoMessageEvent.cs
- ToolStripButton.cs
- ApplicationFileParser.cs
- _SecureChannel.cs
- ImageSourceConverter.cs
- Math.cs
- XsltLoader.cs
- TypeDescriptor.cs
- CodeDomDesignerLoader.cs
- LabelLiteral.cs
- Model3D.cs
- PassportAuthentication.cs
- SettingsAttributes.cs
- Resources.Designer.cs
- ServiceOperation.cs
- X509Certificate.cs
- ScrollBar.cs