Code:
/ DotNET / DotNET / 8.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
- templategroup.cs
- MouseEventArgs.cs
- DeploymentExceptionMapper.cs
- ProtectedConfigurationSection.cs
- ToolbarAUtomationPeer.cs
- JsonReaderDelegator.cs
- TextDpi.cs
- FixedFindEngine.cs
- GAC.cs
- TableRow.cs
- sitestring.cs
- TemplateColumn.cs
- ArgumentValue.cs
- _SecureChannel.cs
- DataGridViewLinkColumn.cs
- SynchronizedMessageSource.cs
- Repeater.cs
- Automation.cs
- PersonalizationStateQuery.cs
- Operand.cs
- InvalidFilterCriteriaException.cs
- ProcessHost.cs
- util.cs
- FlowPosition.cs
- Rotation3D.cs
- WMIGenerator.cs
- initElementDictionary.cs
- UrlMapping.cs
- ProfileSettingsCollection.cs
- ToolTip.cs
- SqlClientMetaDataCollectionNames.cs
- StylusButtonCollection.cs
- QilGeneratorEnv.cs
- PageSetupDialog.cs
- ProcessingInstructionAction.cs
- Compilation.cs
- SQLRoleProvider.cs
- WmlTextBoxAdapter.cs
- ExtentCqlBlock.cs
- WebReferencesBuildProvider.cs
- ModelItemDictionaryImpl.cs
- X509CertificateClaimSet.cs
- PauseStoryboard.cs
- VectorKeyFrameCollection.cs
- AppSettingsSection.cs
- QueryContinueDragEvent.cs
- Win32.cs
- InternalCache.cs
- ParameterBuilder.cs
- PixelFormatConverter.cs
- PersonalizationStateInfoCollection.cs
- StringValueSerializer.cs
- AnnotationAdorner.cs
- DiscoveryRequestHandler.cs
- TextUtf8RawTextWriter.cs
- ReservationCollection.cs
- UDPClient.cs
- XsdValidatingReader.cs
- KeyInterop.cs
- CheckBoxDesigner.cs
- PeerNameResolver.cs
- ColorAnimation.cs
- PropertyEmitter.cs
- GacUtil.cs
- Visual3D.cs
- MsmqHostedTransportConfiguration.cs
- ProbeMatchesMessage11.cs
- MD5HashHelper.cs
- EmptyTextWriter.cs
- WizardStepBase.cs
- RIPEMD160Managed.cs
- Publisher.cs
- MimeFormReflector.cs
- DiscoveryVersionConverter.cs
- ALinqExpressionVisitor.cs
- InkSerializer.cs
- TabItemAutomationPeer.cs
- TrackingMemoryStream.cs
- FormCollection.cs
- WindowsFormsLinkLabel.cs
- ListItemParagraph.cs
- OpacityConverter.cs
- DelegateArgumentReference.cs
- DeclarationUpdate.cs
- ToolStripTemplateNode.cs
- RadioButtonList.cs
- NotSupportedException.cs
- ToolStripLocationCancelEventArgs.cs
- ButtonBase.cs
- DataRecordObjectView.cs
- FacetDescriptionElement.cs
- PeerNameResolver.cs
- SerializationInfo.cs
- PropertyOrder.cs
- FilteredReadOnlyMetadataCollection.cs
- AccessedThroughPropertyAttribute.cs
- DragEventArgs.cs
- HttpResponse.cs
- TypeName.cs
- TextRunProperties.cs