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
- Psha1DerivedKeyGenerator.cs
- AxHost.cs
- LinkArea.cs
- DateTimeOffsetStorage.cs
- SimpleRecyclingCache.cs
- DesignerActionUI.cs
- MessageQueueKey.cs
- AccessText.cs
- errorpatternmatcher.cs
- TextEditorLists.cs
- TimeoutException.cs
- TemplateManager.cs
- CaseInsensitiveComparer.cs
- TokenBasedSetEnumerator.cs
- TabletDeviceInfo.cs
- RangeBase.cs
- Header.cs
- SortedSet.cs
- ToolboxItemFilterAttribute.cs
- BaseTemplateParser.cs
- DataObjectFieldAttribute.cs
- OneWayBindingElement.cs
- OptimalTextSource.cs
- SafePointer.cs
- ActivityMetadata.cs
- ProcessModelSection.cs
- PolicyManager.cs
- ControlCachePolicy.cs
- ProfileModule.cs
- DirectoryNotFoundException.cs
- TextBox.cs
- NTAccount.cs
- Convert.cs
- PageContentAsyncResult.cs
- ChangeToolStripParentVerb.cs
- WebPartCloseVerb.cs
- LogSwitch.cs
- HMACMD5.cs
- ResourceReferenceKeyNotFoundException.cs
- DummyDataSource.cs
- ListViewTableRow.cs
- WebServiceParameterData.cs
- GridViewPageEventArgs.cs
- RMEnrollmentPage1.cs
- CultureTable.cs
- StringInfo.cs
- CodeCommentStatementCollection.cs
- IndentedWriter.cs
- Misc.cs
- AbstractDataSvcMapFileLoader.cs
- WeakEventManager.cs
- CodeLabeledStatement.cs
- QueryOptionExpression.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SmtpCommands.cs
- HttpDictionary.cs
- FrameworkObject.cs
- PipelineModuleStepContainer.cs
- WinEventHandler.cs
- BufferedGenericXmlSecurityToken.cs
- GenericTypeParameterBuilder.cs
- FileInfo.cs
- MultiView.cs
- QuaternionAnimation.cs
- PeerApplication.cs
- DataGridViewCellValueEventArgs.cs
- WorkflowDebuggerSteppingAttribute.cs
- ValidatingReaderNodeData.cs
- QueueProcessor.cs
- PropertyToken.cs
- ProgramNode.cs
- WebPartVerbsEventArgs.cs
- RequiredAttributeAttribute.cs
- DataViewSetting.cs
- GetIndexBinder.cs
- DataGridViewLinkColumn.cs
- UnmanagedBitmapWrapper.cs
- QilSortKey.cs
- COMException.cs
- ClientProxyGenerator.cs
- SessionStateUtil.cs
- PersonalizationStateInfo.cs
- BypassElement.cs
- WithStatement.cs
- AttachedAnnotation.cs
- DesignerLoader.cs
- ParameterBuilder.cs
- ClaimSet.cs
- OracleParameter.cs
- DataGridRelationshipRow.cs
- ScaleTransform.cs
- METAHEADER.cs
- DecoratedNameAttribute.cs
- GlyphingCache.cs
- IntegrationExceptionEventArgs.cs
- CookieParameter.cs
- MouseOverProperty.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- WindowPattern.cs
- ResXFileRef.cs