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
- BinaryWriter.cs
- ActivityDesigner.cs
- TextTreeDeleteContentUndoUnit.cs
- WindowAutomationPeer.cs
- PrimaryKeyTypeConverter.cs
- _TLSstream.cs
- WebPartActionVerb.cs
- TreeNodeCollection.cs
- FontWeightConverter.cs
- WebPartCloseVerb.cs
- MissingManifestResourceException.cs
- ConsoleCancelEventArgs.cs
- ExtensibleClassFactory.cs
- StreamGeometry.cs
- CapabilitiesPattern.cs
- GeneralTransformGroup.cs
- MediaEntryAttribute.cs
- XmlCharacterData.cs
- HiddenField.cs
- ButtonBase.cs
- Win32.cs
- RequestCache.cs
- ProxyWebPartManager.cs
- Int64.cs
- XamlWriter.cs
- KeyTimeConverter.cs
- LockRenewalTask.cs
- SizeAnimationClockResource.cs
- SharedPerformanceCounter.cs
- AsynchronousChannelMergeEnumerator.cs
- SingleKeyFrameCollection.cs
- DataSourceBooleanViewSchemaConverter.cs
- SQLGuidStorage.cs
- CommandEventArgs.cs
- CurrencyManager.cs
- Visual.cs
- DataBindingList.cs
- Column.cs
- XmlNamedNodeMap.cs
- storagemappingitemcollection.viewdictionary.cs
- DataGridViewComboBoxCell.cs
- GeneralTransformGroup.cs
- StoreContentChangedEventArgs.cs
- OracleRowUpdatingEventArgs.cs
- SqlEnums.cs
- DropDownHolder.cs
- CryptoKeySecurity.cs
- LockRenewalTask.cs
- AsyncCompletedEventArgs.cs
- CodeTypeDeclarationCollection.cs
- AssemblyHash.cs
- StorageRoot.cs
- UmAlQuraCalendar.cs
- versioninfo.cs
- ExtendedTransformFactory.cs
- XamlTreeBuilder.cs
- PngBitmapEncoder.cs
- XmlSchemaComplexType.cs
- ProtocolViolationException.cs
- QueryCacheEntry.cs
- basemetadatamappingvisitor.cs
- ConfigViewGenerator.cs
- WSMessageEncoding.cs
- TriState.cs
- FrameworkContentElement.cs
- AppSettingsExpressionEditor.cs
- XPathNavigator.cs
- Filter.cs
- WriterOutput.cs
- DesignerHost.cs
- AtlasWeb.Designer.cs
- SkinBuilder.cs
- SerialReceived.cs
- Point3DKeyFrameCollection.cs
- PersonalizationStateInfo.cs
- EntityDataSourceValidationException.cs
- FormViewPagerRow.cs
- Quaternion.cs
- Metadata.cs
- ping.cs
- _StreamFramer.cs
- FunctionNode.cs
- PropertyPath.cs
- OutputCacheSection.cs
- XsdDataContractExporter.cs
- StatusBarDrawItemEvent.cs
- Boolean.cs
- CaseInsensitiveComparer.cs
- PublisherMembershipCondition.cs
- ScrollViewerAutomationPeer.cs
- GiveFeedbackEvent.cs
- ParserStreamGeometryContext.cs
- OletxResourceManager.cs
- TimerElapsedEvenArgs.cs
- SqlDataSourceStatusEventArgs.cs
- ClientBuildManagerCallback.cs
- OptimisticConcurrencyException.cs
- ModelPropertyDescriptor.cs
- BmpBitmapEncoder.cs