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
- DoubleIndependentAnimationStorage.cs
- _WebProxyDataBuilder.cs
- OperationContextScope.cs
- BinaryCommonClasses.cs
- LabelLiteral.cs
- TextRunTypographyProperties.cs
- CodeGen.cs
- WebPartVerb.cs
- columnmapkeybuilder.cs
- MdiWindowListItemConverter.cs
- WebReferencesBuildProvider.cs
- Cursors.cs
- StandardOleMarshalObject.cs
- AmbientLight.cs
- ProgressBarHighlightConverter.cs
- PerfCounters.cs
- MonikerBuilder.cs
- XmlReflectionImporter.cs
- TrackingMemoryStreamFactory.cs
- HMACSHA512.cs
- TrustManagerPromptUI.cs
- SByteConverter.cs
- WasEndpointConfigContainer.cs
- SafeRegistryHandle.cs
- DependencySource.cs
- KeyValueInternalCollection.cs
- JobCollate.cs
- UdpRetransmissionSettings.cs
- CaseInsensitiveOrdinalStringComparer.cs
- HtmlButton.cs
- TextSimpleMarkerProperties.cs
- CommonObjectSecurity.cs
- CodeSubDirectoriesCollection.cs
- HandleCollector.cs
- SoapAttributeOverrides.cs
- LineGeometry.cs
- XmlCustomFormatter.cs
- GPRECTF.cs
- Keyboard.cs
- GridViewColumnCollection.cs
- SafeEventLogReadHandle.cs
- Decimal.cs
- precedingsibling.cs
- DesignerRegionMouseEventArgs.cs
- DuplicateMessageDetector.cs
- SoapServerProtocol.cs
- Grant.cs
- DataContractJsonSerializer.cs
- SingleBodyParameterMessageFormatter.cs
- EncodingInfo.cs
- ToolStripKeyboardHandlingService.cs
- SocketAddress.cs
- TextPointerBase.cs
- StatusBarItemAutomationPeer.cs
- WhitespaceSignificantCollectionAttribute.cs
- GetPageCompletedEventArgs.cs
- SqlNode.cs
- MenuItem.cs
- FontCacheUtil.cs
- ReadOnlyDictionary.cs
- CompositeFontFamily.cs
- WsiProfilesElementCollection.cs
- AssociationEndMember.cs
- RenamedEventArgs.cs
- OutputScopeManager.cs
- NavigationExpr.cs
- SourceLineInfo.cs
- GuidelineCollection.cs
- FormsAuthenticationTicket.cs
- QuotedPrintableStream.cs
- MultiAsyncResult.cs
- ToolboxItemCollection.cs
- DataControlPagerLinkButton.cs
- MessageBox.cs
- dataobject.cs
- ElapsedEventArgs.cs
- PocoEntityKeyStrategy.cs
- GatewayDefinition.cs
- WebPartUtil.cs
- httpserverutility.cs
- ellipse.cs
- PagerSettings.cs
- SchemaImporter.cs
- TargetControlTypeCache.cs
- FigureParagraph.cs
- InternalCache.cs
- DiscardableAttribute.cs
- SchemaImporter.cs
- METAHEADER.cs
- Wrapper.cs
- ServiceElementCollection.cs
- StrongNameKeyPair.cs
- GridViewCommandEventArgs.cs
- HMACSHA384.cs
- WorkflowServiceHostFactory.cs
- EpmCustomContentDeSerializer.cs
- SslStream.cs
- ToolStripSplitStackLayout.cs
- RegisteredHiddenField.cs
- DataTableCollection.cs