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
- RuntimeConfig.cs
- PointUtil.cs
- WindowsEditBox.cs
- PathParser.cs
- CorrelationExtension.cs
- ToolStripTextBox.cs
- PeerServiceMessageContracts.cs
- SplineKeyFrames.cs
- SortKey.cs
- ViewgenGatekeeper.cs
- QilList.cs
- OleDbErrorCollection.cs
- ByteStorage.cs
- DataGridViewHitTestInfo.cs
- PointKeyFrameCollection.cs
- DecoderFallbackWithFailureFlag.cs
- RuleProcessor.cs
- PackWebRequestFactory.cs
- BaseUriHelper.cs
- WebPartAuthorizationEventArgs.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- FormViewUpdateEventArgs.cs
- DataStreamFromComStream.cs
- ConstantExpression.cs
- FocusManager.cs
- brushes.cs
- SwitchElementsCollection.cs
- StoreContentChangedEventArgs.cs
- _BaseOverlappedAsyncResult.cs
- ListBoxChrome.cs
- BamlResourceSerializer.cs
- WriteLineDesigner.xaml.cs
- ComplexTypeEmitter.cs
- ButtonPopupAdapter.cs
- ServiceChannelProxy.cs
- Environment.cs
- ServiceInfo.cs
- OdbcTransaction.cs
- FocusTracker.cs
- SecurityResources.cs
- TransactionScope.cs
- ExpressionBuilderContext.cs
- UrlRoutingModule.cs
- hresults.cs
- ListSurrogate.cs
- DataObjectMethodAttribute.cs
- XhtmlBasicTextViewAdapter.cs
- GacUtil.cs
- MessageHeaderDescription.cs
- ManualResetEvent.cs
- DES.cs
- IdentitySection.cs
- FlagsAttribute.cs
- DocumentViewerBaseAutomationPeer.cs
- ExceptionRoutedEventArgs.cs
- StateManagedCollection.cs
- PrintSystemException.cs
- AutomationElementCollection.cs
- ControlBuilder.cs
- SchemaImporterExtensionElementCollection.cs
- UnauthorizedAccessException.cs
- ObjectStateEntry.cs
- DbExpressionVisitor_TResultType.cs
- DependencyProperty.cs
- XPathAncestorIterator.cs
- TabItem.cs
- ServiceProviders.cs
- AnimatedTypeHelpers.cs
- DataProviderNameConverter.cs
- ObjectResult.cs
- Matrix3D.cs
- SerializableAttribute.cs
- ProxyGenerator.cs
- LinkLabelLinkClickedEvent.cs
- ClassData.cs
- PrimarySelectionAdorner.cs
- HierarchicalDataSourceIDConverter.cs
- SetStoryboardSpeedRatio.cs
- Scheduler.cs
- CodeTypeReferenceExpression.cs
- SdlChannelSink.cs
- NegationPusher.cs
- ResourcesGenerator.cs
- CacheSection.cs
- VirtualDirectoryMapping.cs
- ValidationEventArgs.cs
- SoapAttributeAttribute.cs
- ResolveCriteriaCD1.cs
- PerformanceCounterManager.cs
- ChannelDispatcher.cs
- TextRangeProviderWrapper.cs
- UrlAuthorizationModule.cs
- WebPartHelpVerb.cs
- GorillaCodec.cs
- DiscoveryMessageSequenceCD1.cs
- ThreadSafeMessageFilterTable.cs
- DataGridViewCellMouseEventArgs.cs
- CompositeDataBoundControl.cs
- RouteUrlExpressionBuilder.cs
- BinHexDecoder.cs