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
- ListSourceHelper.cs
- WebRequestModulesSection.cs
- OleDbPropertySetGuid.cs
- bidPrivateBase.cs
- CheckBoxFlatAdapter.cs
- NativeMethods.cs
- HttpContext.cs
- UTF32Encoding.cs
- KeyInstance.cs
- DoubleMinMaxAggregationOperator.cs
- BasePattern.cs
- TextControl.cs
- DataGridViewRow.cs
- TrackingProvider.cs
- ListBoxItem.cs
- SmtpException.cs
- TableLayoutRowStyleCollection.cs
- SmtpNegotiateAuthenticationModule.cs
- SettingsPropertyWrongTypeException.cs
- CryptoApi.cs
- ImportCatalogPart.cs
- ToolBarPanel.cs
- XslNumber.cs
- TemplateManager.cs
- IResourceProvider.cs
- ContentFileHelper.cs
- CustomAttributeSerializer.cs
- IWorkflowDebuggerService.cs
- LayoutManager.cs
- HWStack.cs
- SmiEventSink_Default.cs
- TdsParser.cs
- HasCopySemanticsAttribute.cs
- ClientConvert.cs
- ExpressionBuilder.cs
- XmlSortKey.cs
- BezierSegment.cs
- XmlSchemaInclude.cs
- _AutoWebProxyScriptEngine.cs
- Sql8ExpressionRewriter.cs
- TextRangeSerialization.cs
- ConfigurationSection.cs
- SetStateDesigner.cs
- DoubleKeyFrameCollection.cs
- ExtendedProtectionPolicyElement.cs
- AdRotator.cs
- Array.cs
- VSDExceptions.cs
- TagMapCollection.cs
- ToolStripSettings.cs
- FileLogRecordHeader.cs
- DataColumnPropertyDescriptor.cs
- SubqueryRules.cs
- DynamicExpression.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- TypeUtils.cs
- SqlServer2KCompatibilityAnnotation.cs
- ToolStripSplitButton.cs
- UpDownEvent.cs
- DocumentReference.cs
- ValueTypeFixupInfo.cs
- PreservationFileReader.cs
- IssuanceLicense.cs
- GeneralTransform3D.cs
- ColorInterpolationModeValidation.cs
- RowTypePropertyElement.cs
- InkCanvasAutomationPeer.cs
- GridViewCellAutomationPeer.cs
- SID.cs
- ManipulationDeltaEventArgs.cs
- AddInAdapter.cs
- SoapException.cs
- SingleTagSectionHandler.cs
- WebEncodingValidatorAttribute.cs
- Expr.cs
- EntityContainerAssociationSet.cs
- HttpRequestBase.cs
- LineSegment.cs
- CollectionBase.cs
- ExtendedPropertyCollection.cs
- _ConnectOverlappedAsyncResult.cs
- SqlTrackingService.cs
- ChameleonKey.cs
- GeneralTransform3DTo2DTo3D.cs
- ConnectorRouter.cs
- WebPartHelpVerb.cs
- WeakReadOnlyCollection.cs
- ThumbAutomationPeer.cs
- ValueExpressions.cs
- MetadataSerializer.cs
- HelloMessageApril2005.cs
- MsmqAppDomainProtocolHandler.cs
- DesignerOptionService.cs
- MenuCommands.cs
- VectorAnimation.cs
- StrongNameUtility.cs
- SqlDataSourceCommandParser.cs
- MSAAWinEventWrap.cs
- NavigationPropertyEmitter.cs
- FilterInvalidBodyAccessException.cs