Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ProcessModelSection.cs
- GetLedgerEntryForRecipientRequest.cs
- BindUriHelper.cs
- PrefixHandle.cs
- DeferredElementTreeState.cs
- WindowsSecurityTokenAuthenticator.cs
- Blend.cs
- ArrayWithOffset.cs
- FromReply.cs
- ImportContext.cs
- EncodingNLS.cs
- DiscriminatorMap.cs
- MaterialCollection.cs
- GridViewDeletedEventArgs.cs
- AssemblyUtil.cs
- ExeContext.cs
- MethodToken.cs
- OleDbRowUpdatingEvent.cs
- FormatVersion.cs
- FixedStringLookup.cs
- TypeConverterHelper.cs
- SQLBytesStorage.cs
- BuildProviderAppliesToAttribute.cs
- TogglePattern.cs
- BamlResourceContent.cs
- JsonGlobals.cs
- XamlFxTrace.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- ReadOnlyAttribute.cs
- TextParagraph.cs
- AstNode.cs
- LambdaCompiler.Address.cs
- XmlLanguage.cs
- XmlExpressionDumper.cs
- SeverityFilter.cs
- SiteMapProvider.cs
- Size.cs
- PropertyPathConverter.cs
- RuntimeIdentifierPropertyAttribute.cs
- DataRow.cs
- PlatformCulture.cs
- ByteFacetDescriptionElement.cs
- NativeMethodsOther.cs
- SmtpReplyReader.cs
- WmlImageAdapter.cs
- PrimitiveDataContract.cs
- FlowDecision.cs
- DataRecordInternal.cs
- IsolatedStorageException.cs
- EventWaitHandle.cs
- BitmapCacheBrush.cs
- ToolStripContentPanel.cs
- SessionStateContainer.cs
- PublisherIdentityPermission.cs
- CodeObjectCreateExpression.cs
- CustomAttributeBuilder.cs
- SqlClientFactory.cs
- ThemeInfoAttribute.cs
- CustomErrorsSection.cs
- ScrollProviderWrapper.cs
- FrameworkObject.cs
- KeyboardDevice.cs
- StylusPoint.cs
- Path.cs
- AvTrace.cs
- RtfControlWordInfo.cs
- HtmlInputHidden.cs
- ExpressionSelection.cs
- ProgressiveCrcCalculatingStream.cs
- BitmapImage.cs
- EventBuilder.cs
- SurrogateDataContract.cs
- UIHelper.cs
- Profiler.cs
- Variant.cs
- AtomServiceDocumentSerializer.cs
- Font.cs
- DbTransaction.cs
- BulletedListEventArgs.cs
- ValidatingPropertiesEventArgs.cs
- MailAddress.cs
- DataTableMapping.cs
- SharedRuntimeState.cs
- InternalControlCollection.cs
- SerializerDescriptor.cs
- Section.cs
- EntityContainerAssociationSet.cs
- Function.cs
- StretchValidation.cs
- counter.cs
- DataGridViewCheckBoxColumn.cs
- HandleCollector.cs
- SHA384.cs
- ResourceContainer.cs
- MailMessageEventArgs.cs
- SendSecurityHeader.cs
- HtmlControlPersistable.cs
- InputMethodStateTypeInfo.cs
- WriteableOnDemandStream.cs
- MultipartContentParser.cs