Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ComponentEvent.cs
- PieceDirectory.cs
- UnitySerializationHolder.cs
- CodeTypeParameterCollection.cs
- StyleCollection.cs
- WebPartChrome.cs
- DataGridViewAccessibleObject.cs
- DesignerTextBoxAdapter.cs
- BooleanFunctions.cs
- ClientEventManager.cs
- ModuleElement.cs
- Point3DAnimation.cs
- KeyNameIdentifierClause.cs
- RoleServiceManager.cs
- OperationBehaviorAttribute.cs
- XslTransform.cs
- ExpressionPrefixAttribute.cs
- ScrollEventArgs.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ToolStripDropDown.cs
- IFlowDocumentViewer.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SelectionEditingBehavior.cs
- VerticalConnector.xaml.cs
- loginstatus.cs
- BaseAsyncResult.cs
- TaskHelper.cs
- CodeCommentStatement.cs
- EdmSchemaAttribute.cs
- ServiceEndpointCollection.cs
- StrongNameKeyPair.cs
- RemotingServices.cs
- DisableDpiAwarenessAttribute.cs
- XPathNodeInfoAtom.cs
- AggregateNode.cs
- InternalMappingException.cs
- HtmlPanelAdapter.cs
- ToolStripDropDownButton.cs
- WinInet.cs
- NetPeerTcpBindingElement.cs
- FloatSumAggregationOperator.cs
- Utils.cs
- lengthconverter.cs
- IPCCacheManager.cs
- HtmlInputRadioButton.cs
- Inline.cs
- ControlValuePropertyAttribute.cs
- EntitySetRetriever.cs
- QueuePathDialog.cs
- tabpagecollectioneditor.cs
- EntityObject.cs
- UndirectedGraph.cs
- OrderedDictionary.cs
- entityreference_tresulttype.cs
- DataGridViewIntLinkedList.cs
- _ListenerRequestStream.cs
- SettingsBase.cs
- RtfToXamlLexer.cs
- UpdatePanelTriggerCollection.cs
- CapabilitiesSection.cs
- HostProtectionException.cs
- TimeStampChecker.cs
- designeractionlistschangedeventargs.cs
- DataKeyArray.cs
- Point4D.cs
- WpfMemberInvoker.cs
- ExpressionPrefixAttribute.cs
- ActivityCodeDomSerializer.cs
- returneventsaver.cs
- WebSysDisplayNameAttribute.cs
- itemelement.cs
- ConfigXmlAttribute.cs
- XmlSerializerNamespaces.cs
- Collection.cs
- PropertyPathWorker.cs
- OletxEnlistment.cs
- DeviceContext.cs
- ContentOperations.cs
- SelectionItemPattern.cs
- ConfigurationValue.cs
- OleDbReferenceCollection.cs
- DbgUtil.cs
- EventManager.cs
- SQLUtility.cs
- ArraySet.cs
- SoapProtocolImporter.cs
- BrushValueSerializer.cs
- TypeInfo.cs
- NavigationWindowAutomationPeer.cs
- HtmlTable.cs
- MILUtilities.cs
- safesecurityhelperavalon.cs
- ExpressionBuilderCollection.cs
- ExternalFile.cs
- BufferAllocator.cs
- TableLayoutCellPaintEventArgs.cs
- EpmCustomContentWriterNodeData.cs
- RenderContext.cs
- MediaPlayerState.cs
- BaseAsyncResult.cs