Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Ink / StylusTip.cs / 1305600 / StylusTip.cs
//------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- using System; namespace System.Windows.Ink { ////// StylusTip /// public enum StylusTip { ////// Rectangle /// Rectangle = 0, ////// Ellipse /// Ellipse } ////// Internal helper to avoid costly call to Enum.IsDefined /// internal static class StylusTipHelper { internal static bool IsDefined(StylusTip stylusTip) { if (stylusTip < StylusTip.Rectangle || stylusTip > StylusTip.Ellipse) { return false; } return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- using System; namespace System.Windows.Ink { ////// StylusTip /// public enum StylusTip { ////// Rectangle /// Rectangle = 0, ////// Ellipse /// Ellipse } ////// Internal helper to avoid costly call to Enum.IsDefined /// internal static class StylusTipHelper { internal static bool IsDefined(StylusTip stylusTip) { if (stylusTip < StylusTip.Rectangle || stylusTip > StylusTip.Ellipse) { return false; } return true; } } } // 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
- TextEndOfLine.cs
- LoginCancelEventArgs.cs
- MbpInfo.cs
- SystemColorTracker.cs
- HtmlLiteralTextAdapter.cs
- Walker.cs
- TextTreeUndo.cs
- _Semaphore.cs
- DragEvent.cs
- SchemeSettingElement.cs
- RectangleGeometry.cs
- PartialCachingAttribute.cs
- DataGridViewTextBoxColumn.cs
- XmlCompatibilityReader.cs
- ScopeElementCollection.cs
- GlobalProxySelection.cs
- PropertyInfoSet.cs
- QilReference.cs
- RtfControls.cs
- SafeEventLogWriteHandle.cs
- SequentialUshortCollection.cs
- CompletedAsyncResult.cs
- ParseNumbers.cs
- MatrixIndependentAnimationStorage.cs
- TrackingServices.cs
- SiteMap.cs
- Select.cs
- DBCommand.cs
- IgnoreSectionHandler.cs
- Baml2006KeyRecord.cs
- InkCanvas.cs
- SerializationInfoEnumerator.cs
- DataRow.cs
- XmlDomTextWriter.cs
- ManagedIStream.cs
- XmlQualifiedName.cs
- GenericUriParser.cs
- TriState.cs
- PasswordDeriveBytes.cs
- DecimalAnimationBase.cs
- AtomicFile.cs
- SHA256Managed.cs
- XmlAtomicValue.cs
- DynamicQueryableWrapper.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- Style.cs
- SmiEventStream.cs
- LostFocusEventManager.cs
- AttributeCollection.cs
- MulticastOption.cs
- TextClipboardData.cs
- _NegoStream.cs
- ItemsPresenter.cs
- TemplateBaseAction.cs
- DomNameTable.cs
- ExtensionFile.cs
- ISAPIApplicationHost.cs
- TextTreeObjectNode.cs
- HighlightVisual.cs
- DataError.cs
- CellLabel.cs
- DynamicDocumentPaginator.cs
- XmlNamespaceMapping.cs
- TypefaceCollection.cs
- TreeNodeBinding.cs
- DataStreamFromComStream.cs
- ProtocolsConfiguration.cs
- UserControl.cs
- Utilities.cs
- ReversePositionQuery.cs
- IIS7WorkerRequest.cs
- ProviderBase.cs
- TemplateXamlParser.cs
- CreateParams.cs
- ConfigsHelper.cs
- PageAsyncTask.cs
- UndoEngine.cs
- XmlUTF8TextWriter.cs
- ProviderIncompatibleException.cs
- BasicExpandProvider.cs
- Journal.cs
- SQLMoneyStorage.cs
- WebResourceAttribute.cs
- RealizedColumnsBlock.cs
- PieceDirectory.cs
- StandardToolWindows.cs
- DataControlLinkButton.cs
- PageParser.cs
- InputManager.cs
- MediaCommands.cs
- WebSysDefaultValueAttribute.cs
- SizeF.cs
- Span.cs
- BuildProviderAppliesToAttribute.cs
- PageFunction.cs
- ParseNumbers.cs
- ScriptingSectionGroup.cs
- WindowsSlider.cs
- AddressingProperty.cs
- StylusSystemGestureEventArgs.cs