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
- EndOfStreamException.cs
- SqlDataSourceConfigureSelectPanel.cs
- Win32SafeHandles.cs
- SafeFileMappingHandle.cs
- BaseUriHelper.cs
- ColorConvertedBitmapExtension.cs
- FixedTextBuilder.cs
- ProfileBuildProvider.cs
- SqlBuilder.cs
- DependencyObjectPropertyDescriptor.cs
- VsPropertyGrid.cs
- ISAPIWorkerRequest.cs
- BuildResult.cs
- CodeMethodInvokeExpression.cs
- _UncName.cs
- Splitter.cs
- RegexRunner.cs
- IgnoreDataMemberAttribute.cs
- Range.cs
- XPathQilFactory.cs
- MeasurementDCInfo.cs
- BordersPage.cs
- CryptoStream.cs
- OracleString.cs
- XpsDocumentEvent.cs
- PageClientProxyGenerator.cs
- OleDbReferenceCollection.cs
- KeyInstance.cs
- DbMetaDataColumnNames.cs
- MimeFormatter.cs
- BindingExpression.cs
- RegexRunnerFactory.cs
- TreeNodeBindingCollection.cs
- InstanceLockTracking.cs
- Point.cs
- CompModSwitches.cs
- ItemCheckedEvent.cs
- ListBoxItemWrapperAutomationPeer.cs
- FixedSOMImage.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- OleDbCommand.cs
- ReflectionTypeLoadException.cs
- FrameworkContentElement.cs
- OptimisticConcurrencyException.cs
- InstanceNameConverter.cs
- ServicePointManager.cs
- TypeBuilderInstantiation.cs
- MembershipSection.cs
- PageEventArgs.cs
- StyleSelector.cs
- templategroup.cs
- TransactionFlowBindingElementImporter.cs
- SqlWorkflowInstanceStoreLock.cs
- keycontainerpermission.cs
- GeneralTransform3DCollection.cs
- LinqDataSourceHelper.cs
- HtmlElementErrorEventArgs.cs
- RegexMatch.cs
- WindowsContainer.cs
- ZipIORawDataFileBlock.cs
- DoWhile.cs
- MeshGeometry3D.cs
- IntSecurity.cs
- DataGridViewCellStyleChangedEventArgs.cs
- UserMapPath.cs
- HyperLinkColumn.cs
- HtmlInputRadioButton.cs
- ToolStripComboBox.cs
- NavigationProperty.cs
- SqlDataAdapter.cs
- ItemCollection.cs
- MaskDescriptors.cs
- DependentTransaction.cs
- BasicAsyncResult.cs
- FileLevelControlBuilderAttribute.cs
- SoapTypeAttribute.cs
- KerberosReceiverSecurityToken.cs
- ParseNumbers.cs
- FamilyTypefaceCollection.cs
- GeometryDrawing.cs
- errorpatternmatcher.cs
- FileDialog.cs
- linebase.cs
- ViewStateChangedEventArgs.cs
- SystemNetHelpers.cs
- Geometry.cs
- DynamicArgumentDesigner.xaml.cs
- ApplicationInfo.cs
- ImportContext.cs
- MoveSizeWinEventHandler.cs
- TabletDeviceInfo.cs
- ListDependantCardsRequest.cs
- GroupDescription.cs
- DeclarationUpdate.cs
- PropertyInformationCollection.cs
- MediaElement.cs
- ActiveXSite.cs
- GenericIdentity.cs
- InvalidateEvent.cs
- EnumValAlphaComparer.cs