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
- SHA512.cs
- TraceListener.cs
- PathTooLongException.cs
- WindowsTokenRoleProvider.cs
- CallbackValidatorAttribute.cs
- XamlToRtfWriter.cs
- DetailsViewPageEventArgs.cs
- WebServiceResponseDesigner.cs
- Vector3DCollection.cs
- Wrapper.cs
- AutoResizedEvent.cs
- DrawingState.cs
- BamlResourceDeserializer.cs
- UmAlQuraCalendar.cs
- Bitmap.cs
- ComplusEndpointConfigContainer.cs
- TextEditorParagraphs.cs
- WindowProviderWrapper.cs
- BorderGapMaskConverter.cs
- MouseBinding.cs
- ImageField.cs
- PathGradientBrush.cs
- SystemGatewayIPAddressInformation.cs
- ObjectResult.cs
- CorrelationService.cs
- AmbientProperties.cs
- PropertyDescriptorCollection.cs
- _BasicClient.cs
- ExtenderProvidedPropertyAttribute.cs
- SystemEvents.cs
- MetadataCollection.cs
- UInt16Storage.cs
- DefaultHttpHandler.cs
- NativeMethods.cs
- GeneralTransform3DGroup.cs
- ExpressionEditorAttribute.cs
- BinaryObjectInfo.cs
- PrivateFontCollection.cs
- BaseCodePageEncoding.cs
- CompilationUtil.cs
- InkCanvasAutomationPeer.cs
- StartFileNameEditor.cs
- XslNumber.cs
- ObservableDictionary.cs
- ObjectItemCollection.cs
- MessagePropertyDescriptionCollection.cs
- assemblycache.cs
- EventBuilder.cs
- DuplicateContext.cs
- HttpServerProtocol.cs
- ConditionalAttribute.cs
- NavigationWindow.cs
- Button.cs
- SmtpNetworkElement.cs
- ContentDisposition.cs
- PersonalizationAdministration.cs
- ContentPosition.cs
- TrackingProfile.cs
- EntityDataSourceDataSelectionPanel.cs
- NumericExpr.cs
- ToolStripDropDownItem.cs
- Parser.cs
- SmtpClient.cs
- HtmlObjectListAdapter.cs
- RegexWorker.cs
- Events.cs
- Drawing.cs
- Range.cs
- RbTree.cs
- GreenMethods.cs
- StrokeDescriptor.cs
- MenuStrip.cs
- ResourcePermissionBase.cs
- XmlSchemas.cs
- DependencyPropertyValueSerializer.cs
- UIElementPropertyUndoUnit.cs
- Page.cs
- NamespaceEmitter.cs
- GlobalDataBindingHandler.cs
- CustomPeerResolverService.cs
- Parsers.cs
- BufferedStream2.cs
- TemplateGroupCollection.cs
- SqlUDTStorage.cs
- QilList.cs
- BCryptSafeHandles.cs
- NamespaceTable.cs
- ThreadInterruptedException.cs
- printdlgexmarshaler.cs
- Fx.cs
- SystemInfo.cs
- X509AudioLogo.cs
- TextTabProperties.cs
- ModuleElement.cs
- XmlNodeWriter.cs
- HtmlInputCheckBox.cs
- FontUnitConverter.cs
- AuthStoreRoleProvider.cs
- XamlFigureLengthSerializer.cs
- XmlValidatingReader.cs