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
- AccessDataSourceView.cs
- SuppressIldasmAttribute.cs
- FontSource.cs
- PromptEventArgs.cs
- PngBitmapDecoder.cs
- Comparer.cs
- LabelAutomationPeer.cs
- SizeConverter.cs
- DbFunctionCommandTree.cs
- ToolStripPanelCell.cs
- IpcServerChannel.cs
- SmtpMail.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SqlBulkCopyColumnMapping.cs
- StoreItemCollection.cs
- SoapSchemaExporter.cs
- DirectoryRedirect.cs
- BindingSource.cs
- _StreamFramer.cs
- HttpProfileGroupBase.cs
- StorageEndPropertyMapping.cs
- WebProxyScriptElement.cs
- CacheEntry.cs
- WebPartEditorOkVerb.cs
- UpdatePanelTrigger.cs
- _AuthenticationState.cs
- PrimitiveCodeDomSerializer.cs
- ColumnProvider.cs
- TreeNodeBindingCollection.cs
- RawTextInputReport.cs
- DataColumnPropertyDescriptor.cs
- XmlQuerySequence.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DirectoryNotFoundException.cs
- CqlLexerHelpers.cs
- DataRowView.cs
- EllipticalNodeOperations.cs
- LineBreak.cs
- StringExpressionSet.cs
- BackgroundFormatInfo.cs
- _ChunkParse.cs
- UshortList2.cs
- StackSpiller.Bindings.cs
- TextRangeBase.cs
- DataGridViewCellStateChangedEventArgs.cs
- ValidatorCompatibilityHelper.cs
- MetafileHeader.cs
- FixedDocument.cs
- QilVisitor.cs
- Operator.cs
- Comparer.cs
- JumpTask.cs
- TimeSpanValidatorAttribute.cs
- FloatUtil.cs
- ZipIOCentralDirectoryBlock.cs
- CollectionsUtil.cs
- MissingManifestResourceException.cs
- DataGridViewCellPaintingEventArgs.cs
- GridViewAutomationPeer.cs
- DiscoveryClientBindingElement.cs
- ErrorWebPart.cs
- TextRenderer.cs
- DbConnectionInternal.cs
- ColorConvertedBitmapExtension.cs
- StorageBasedPackageProperties.cs
- MediaEntryAttribute.cs
- SerialPort.cs
- XmlDictionaryReaderQuotas.cs
- SoapAttributes.cs
- IgnoreSectionHandler.cs
- MeasurementDCInfo.cs
- Thumb.cs
- GeneralTransform3DGroup.cs
- ReadOnlyHierarchicalDataSourceView.cs
- WebConfigurationHostFileChange.cs
- DBSqlParserColumnCollection.cs
- WasAdminWrapper.cs
- DependentList.cs
- PenThreadWorker.cs
- ToolStripComboBox.cs
- Rectangle.cs
- WorkflowValidationFailedException.cs
- initElementDictionary.cs
- XmlAttributeOverrides.cs
- GacUtil.cs
- CompiledQuery.cs
- RepeatBehavior.cs
- FileNotFoundException.cs
- OdbcFactory.cs
- SBCSCodePageEncoding.cs
- MissingFieldException.cs
- SendKeys.cs
- SqlOuterApplyReducer.cs
- XmlDeclaration.cs
- Transform.cs
- DeflateStreamAsyncResult.cs
- MulticastNotSupportedException.cs
- ComponentRenameEvent.cs
- SwitchDesigner.xaml.cs
- WebPartZone.cs