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
- ChameleonKey.cs
- DataPagerFieldCollection.cs
- WindowsTokenRoleProvider.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- CornerRadius.cs
- FileSystemEventArgs.cs
- XmlCharacterData.cs
- SystemBrushes.cs
- ZoneIdentityPermission.cs
- TraceSwitch.cs
- Registry.cs
- DispatcherHooks.cs
- counter.cs
- MenuItem.cs
- ListViewDeleteEventArgs.cs
- RsaKeyGen.cs
- StringDictionaryEditor.cs
- FactoryRecord.cs
- ZoneButton.cs
- OrthographicCamera.cs
- GridViewPageEventArgs.cs
- AsmxEndpointPickerExtension.cs
- EntityDataSourceEntitySetNameItem.cs
- BezierSegment.cs
- Compiler.cs
- MeasurementDCInfo.cs
- ObjectComplexPropertyMapping.cs
- TraceHandler.cs
- MaskedTextBox.cs
- Lookup.cs
- IdentifierService.cs
- EntityDataSourceReferenceGroup.cs
- TextEditorContextMenu.cs
- SerializationObjectManager.cs
- StrokeRenderer.cs
- ProgressBarRenderer.cs
- TemplateBamlRecordReader.cs
- PublisherIdentityPermission.cs
- XmlEncoding.cs
- WindowsNonControl.cs
- PhonemeEventArgs.cs
- TrackingConditionCollection.cs
- CharStorage.cs
- TrackingLocation.cs
- AssemblyResourceLoader.cs
- SharedConnectionWorkflowTransactionService.cs
- SignHashRequest.cs
- XPathConvert.cs
- UIElement.cs
- DbMetaDataFactory.cs
- SplitContainer.cs
- _ShellExpression.cs
- UIntPtr.cs
- WorkflowMarkupSerializerMapping.cs
- DataExchangeServiceBinder.cs
- TypeElement.cs
- Function.cs
- TypeRefElement.cs
- TypeViewSchema.cs
- VectorAnimationUsingKeyFrames.cs
- ExpressionBinding.cs
- _IPv4Address.cs
- Crypto.cs
- lengthconverter.cs
- TableLayoutCellPaintEventArgs.cs
- MultiSelector.cs
- ResolveNameEventArgs.cs
- ColorMatrix.cs
- AudioDeviceOut.cs
- LayoutTable.cs
- ProtocolsConfigurationEntry.cs
- DocumentViewerBaseAutomationPeer.cs
- RelatedEnd.cs
- MetadataArtifactLoaderFile.cs
- MenuBindingsEditorForm.cs
- OracleTimeSpan.cs
- EntityClientCacheKey.cs
- DependencyStoreSurrogate.cs
- DataMisalignedException.cs
- AudioFileOut.cs
- JoinGraph.cs
- XmlSchemaSimpleContentRestriction.cs
- CryptoStream.cs
- InputBindingCollection.cs
- IISMapPath.cs
- SizeChangedEventArgs.cs
- ConfigurationStrings.cs
- PrivilegedConfigurationManager.cs
- FtpWebRequest.cs
- DataControlButton.cs
- ComponentCollection.cs
- DBConnection.cs
- ShapeTypeface.cs
- ConfigurationValues.cs
- QueryContinueDragEvent.cs
- OrderByBuilder.cs
- Int16KeyFrameCollection.cs
- XmlDataImplementation.cs
- DataGridViewComboBoxColumn.cs
- GACIdentityPermission.cs