Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Ink / StylusTip.cs / 1 / 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
- SystemSounds.cs
- TableItemProviderWrapper.cs
- AtomMaterializerLog.cs
- XpsFixedPageReaderWriter.cs
- MultipartContentParser.cs
- OdbcDataReader.cs
- SchemaElementDecl.cs
- WorkflowElementDialog.cs
- DecoderBestFitFallback.cs
- DBCommand.cs
- DataSourceExpressionCollection.cs
- SafeBitVector32.cs
- CachedBitmap.cs
- ByteAnimationBase.cs
- TypeListConverter.cs
- XComponentModel.cs
- SafeSecurityHandles.cs
- __TransparentProxy.cs
- RadioButtonPopupAdapter.cs
- TimersDescriptionAttribute.cs
- MailWebEventProvider.cs
- LoadWorkflowCommand.cs
- BitmapEffectInput.cs
- StringStorage.cs
- RuleSettings.cs
- Process.cs
- WebPartVerb.cs
- SystemResources.cs
- CustomBindingElementCollection.cs
- TextServicesPropertyRanges.cs
- UnmanagedMarshal.cs
- SqlGenericUtil.cs
- FormView.cs
- DeliveryStrategy.cs
- CodeTypeConstructor.cs
- TrackBar.cs
- EnterpriseServicesHelper.cs
- TransactionState.cs
- DataGridViewLinkColumn.cs
- DurableInstanceProvider.cs
- DataSetMappper.cs
- ViewValidator.cs
- ProcessHostConfigUtils.cs
- CodeNamespace.cs
- ReaderContextStackData.cs
- UrlPath.cs
- WindowsIPAddress.cs
- BindingManagerDataErrorEventArgs.cs
- AudioBase.cs
- NetworkInterface.cs
- XPathArrayIterator.cs
- ArrayExtension.cs
- MergablePropertyAttribute.cs
- IpcPort.cs
- Adorner.cs
- AtomServiceDocumentSerializer.cs
- PersonalizationProvider.cs
- ViewSimplifier.cs
- FreezableCollection.cs
- FormatterConverter.cs
- WindowsTokenRoleProvider.cs
- SelectionHighlightInfo.cs
- RsaElement.cs
- TextTreeTextBlock.cs
- CookieHandler.cs
- CultureInfo.cs
- CodeTypeParameterCollection.cs
- Rect.cs
- LightweightEntityWrapper.cs
- CommandManager.cs
- CodeCatchClauseCollection.cs
- CrossAppDomainChannel.cs
- DynamicDiscoveryDocument.cs
- TypeToken.cs
- RemoteAsymmetricSignatureFormatter.cs
- MethodAccessException.cs
- ConfigXmlElement.cs
- PaginationProgressEventArgs.cs
- OpenFileDialog.cs
- ProcessHostConfigUtils.cs
- LowerCaseStringConverter.cs
- SystemWebExtensionsSectionGroup.cs
- DrawingVisualDrawingContext.cs
- SingleTagSectionHandler.cs
- ProxyGenerationError.cs
- XmlSchemaInfo.cs
- Membership.cs
- Thickness.cs
- FormViewInsertEventArgs.cs
- DeploymentSection.cs
- XmlSchemaChoice.cs
- SubpageParagraph.cs
- _Events.cs
- GridItemPatternIdentifiers.cs
- PersonalizationDictionary.cs
- Transform.cs
- COAUTHIDENTITY.cs
- Int32.cs
- InheritablePropertyChangeInfo.cs
- OleAutBinder.cs