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
- OpCopier.cs
- ColorConvertedBitmapExtension.cs
- XmlCharacterData.cs
- EntityContainerEntitySet.cs
- Single.cs
- PowerEase.cs
- AVElementHelper.cs
- BitmapImage.cs
- MembershipUser.cs
- AsymmetricSignatureDeformatter.cs
- IncrementalReadDecoders.cs
- Literal.cs
- XmlC14NWriter.cs
- ThrowHelper.cs
- WebZone.cs
- ProxyWebPartManager.cs
- ProfilePropertyNameValidator.cs
- ProxyWebPartManager.cs
- UIElement3DAutomationPeer.cs
- URI.cs
- UiaCoreTypesApi.cs
- SortedList.cs
- CodeExpressionStatement.cs
- ListBase.cs
- PropertyEntry.cs
- XmlElementAttribute.cs
- Transform3D.cs
- Funcletizer.cs
- DbConnectionOptions.cs
- DataColumnChangeEvent.cs
- Menu.cs
- ControlBuilderAttribute.cs
- ListViewPagedDataSource.cs
- PointAnimationBase.cs
- HtmlInputFile.cs
- Utils.cs
- FixedSOMFixedBlock.cs
- ExecutedRoutedEventArgs.cs
- RadioButtonStandardAdapter.cs
- Latin1Encoding.cs
- SectionUpdates.cs
- ColorIndependentAnimationStorage.cs
- EntityCommand.cs
- ComboBox.cs
- SystemIPInterfaceProperties.cs
- Subordinate.cs
- _LazyAsyncResult.cs
- MouseDevice.cs
- NonVisualControlAttribute.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- BitVector32.cs
- MsmqUri.cs
- DefaultPropertyAttribute.cs
- AppDomainAttributes.cs
- BaseUriWithWildcard.cs
- SetStoryboardSpeedRatio.cs
- LinkArea.cs
- WindowsToolbar.cs
- AnimationLayer.cs
- WebPartTracker.cs
- TypeToken.cs
- sqlpipe.cs
- PerfProviderCollection.cs
- Set.cs
- Win32Exception.cs
- CreatingCookieEventArgs.cs
- DesignerTransactionCloseEvent.cs
- Int32KeyFrameCollection.cs
- XNodeSchemaApplier.cs
- ContextBase.cs
- Point4D.cs
- MeshGeometry3D.cs
- QuaternionValueSerializer.cs
- OdbcEnvironment.cs
- SafeSecurityHandles.cs
- SecurityCriticalDataForSet.cs
- StorageModelBuildProvider.cs
- AnimationClockResource.cs
- DebugView.cs
- SoapException.cs
- PeerOutputChannel.cs
- XmlBaseReader.cs
- SystemIPInterfaceProperties.cs
- SessionEndingEventArgs.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- QilInvoke.cs
- CalendarDesigner.cs
- XmlKeywords.cs
- DependencyObjectPropertyDescriptor.cs
- Rotation3DAnimationBase.cs
- UnsafeNativeMethods.cs
- ConnectorRouter.cs
- ConsumerConnectionPointCollection.cs
- XmlKeywords.cs
- BitVector32.cs
- ParseNumbers.cs
- unitconverter.cs
- JsonByteArrayDataContract.cs
- RoleGroupCollection.cs
- SqlDataReader.cs