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
- ItemContainerPattern.cs
- HashHelper.cs
- XmlNodeWriter.cs
- ColumnMap.cs
- SessionStateItemCollection.cs
- ControlParser.cs
- DelegatingHeader.cs
- DefaultValueAttribute.cs
- Compiler.cs
- SendKeys.cs
- ColumnMap.cs
- RelativeSource.cs
- CommandArguments.cs
- VideoDrawing.cs
- VectorCollection.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- EmptyStringExpandableObjectConverter.cs
- ClientBuildManager.cs
- Size3D.cs
- PartialCachingAttribute.cs
- DocumentPageHost.cs
- EntityContainerEntitySetDefiningQuery.cs
- BinaryFormatterWriter.cs
- MonitorWrapper.cs
- OracleRowUpdatedEventArgs.cs
- WmlTextViewAdapter.cs
- arc.cs
- KerberosSecurityTokenAuthenticator.cs
- RuntimeConfigLKG.cs
- WaitHandleCannotBeOpenedException.cs
- SwitchElementsCollection.cs
- Compiler.cs
- StorageTypeMapping.cs
- TableAdapterManagerGenerator.cs
- OrderingInfo.cs
- TableLayout.cs
- WindowsUpDown.cs
- DetailsViewUpdateEventArgs.cs
- DecoderBestFitFallback.cs
- Authorization.cs
- SoapReflectionImporter.cs
- PrePrepareMethodAttribute.cs
- PolicyException.cs
- PagerSettings.cs
- HtmlInputButton.cs
- OLEDB_Enum.cs
- RecognizedWordUnit.cs
- BitmapEffectvisualstate.cs
- COM2AboutBoxPropertyDescriptor.cs
- DataTransferEventArgs.cs
- Stream.cs
- LabelEditEvent.cs
- X500Name.cs
- SessionPageStateSection.cs
- ButtonBase.cs
- GeometryCombineModeValidation.cs
- OleDbDataAdapter.cs
- SignatureResourcePool.cs
- PageContentCollection.cs
- IIS7WorkerRequest.cs
- InnerItemCollectionView.cs
- ColumnCollection.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- base64Transforms.cs
- WsatProxy.cs
- MenuCommandService.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- Util.cs
- RowToParametersTransformer.cs
- Propagator.Evaluator.cs
- SqlRowUpdatingEvent.cs
- DeobfuscatingStream.cs
- EventToken.cs
- ImageMapEventArgs.cs
- WeakReferenceKey.cs
- HtmlTernaryTree.cs
- TrackingProvider.cs
- CancellationTokenRegistration.cs
- TextTreeInsertUndoUnit.cs
- ScalarType.cs
- ShaderEffect.cs
- TypeUtil.cs
- CodeTypeReferenceExpression.cs
- UInt32Storage.cs
- VerifyHashRequest.cs
- WebPartDescription.cs
- PostBackTrigger.cs
- XhtmlBasicObjectListAdapter.cs
- SerializationSectionGroup.cs
- BlurBitmapEffect.cs
- QueryConverter.cs
- SafeRightsManagementEnvironmentHandle.cs
- SoapCommonClasses.cs
- webeventbuffer.cs
- RoutedEventValueSerializer.cs
- HttpCacheVary.cs
- InternalDuplexChannelListener.cs
- Optimizer.cs
- PatternMatcher.cs
- SendMessageRecord.cs