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
- RootNamespaceAttribute.cs
- SQLMoneyStorage.cs
- StorageAssociationSetMapping.cs
- HtmlInputCheckBox.cs
- IfAction.cs
- GridViewSelectEventArgs.cs
- GcSettings.cs
- DateTimeOffsetStorage.cs
- PixelShader.cs
- BinHexDecoder.cs
- Reference.cs
- serverconfig.cs
- ListViewGroupCollectionEditor.cs
- ClientCultureInfo.cs
- AssociationTypeEmitter.cs
- HttpRequestTraceRecord.cs
- DocumentOrderQuery.cs
- Guid.cs
- ObjectPersistData.cs
- IdentitySection.cs
- _AutoWebProxyScriptWrapper.cs
- ToolStripDropDownClosingEventArgs.cs
- NetStream.cs
- AppModelKnownContentFactory.cs
- OutKeywords.cs
- FixedTextSelectionProcessor.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ScrollItemPattern.cs
- ElementUtil.cs
- ImageClickEventArgs.cs
- KeyConstraint.cs
- XPathSelectionIterator.cs
- CodeConditionStatement.cs
- DetailsViewUpdatedEventArgs.cs
- DoubleAnimationUsingKeyFrames.cs
- DbConnectionPoolGroup.cs
- RequestCache.cs
- CrossContextChannel.cs
- CleanUpVirtualizedItemEventArgs.cs
- DataGridHeaderBorder.cs
- WorkflowApplicationCompletedException.cs
- PagesChangedEventArgs.cs
- SqlExpressionNullability.cs
- SortDescriptionCollection.cs
- HttpProfileGroupBase.cs
- WebScriptMetadataMessage.cs
- NullableIntSumAggregationOperator.cs
- QuinticEase.cs
- DiscreteKeyFrames.cs
- AssemblyCollection.cs
- BindingsCollection.cs
- CodeObjectCreateExpression.cs
- ListGeneralPage.cs
- InsufficientMemoryException.cs
- StringDictionary.cs
- MultiBinding.cs
- CLRBindingWorker.cs
- EncoderParameter.cs
- ScopelessEnumAttribute.cs
- FlowLayout.cs
- DynamicMetaObjectBinder.cs
- CaretElement.cs
- MultiBinding.cs
- FactoryGenerator.cs
- MetadataItem_Static.cs
- SystemNetworkInterface.cs
- BrushMappingModeValidation.cs
- PrintDialog.cs
- RectangleGeometry.cs
- OrderedDictionary.cs
- ResourceBinder.cs
- TraceListener.cs
- RtfControls.cs
- Bitmap.cs
- TraceContextRecord.cs
- DataSourceCacheDurationConverter.cs
- DbMetaDataCollectionNames.cs
- PolicyException.cs
- Models.cs
- ActionFrame.cs
- OrderByLifter.cs
- MinimizableAttributeTypeConverter.cs
- AnnotationComponentChooser.cs
- DataServiceQueryProvider.cs
- TypedReference.cs
- ExtenderProvidedPropertyAttribute.cs
- WebPartMinimizeVerb.cs
- DBBindings.cs
- diagnosticsswitches.cs
- NumberFormatter.cs
- DataSysAttribute.cs
- ClientBase.cs
- HighlightComponent.cs
- ParenthesizePropertyNameAttribute.cs
- COM2ComponentEditor.cs
- GZipStream.cs
- SQLMoney.cs
- EventDriven.cs
- FixedPageAutomationPeer.cs
- HtmlInputHidden.cs