Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TextHintingModeValidation.cs / 1305600 / TextHintingModeValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see http://wiki/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #if PRESENTATION_CORE using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; #else using SR=System.Windows.SR; using SRID=System.Windows.SRID; #endif namespace System.Windows.Media { internal static partial class ValidateEnums { ////// Returns whether or not an enumeration instance a valid value. /// This method is designed to be used with ValidateValueCallback, and thus /// matches it's prototype. /// /// /// Enumeration value to validate. /// ///'true' if the enumeration contains a valid value, 'false' otherwise. public static bool IsTextHintingModeValid(object valueObject) { TextHintingMode value = (TextHintingMode) valueObject; return (value == TextHintingMode.Auto) || (value == TextHintingMode.Fixed) || (value == TextHintingMode.Animated); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputScopeAttribute.cs
- GridItemCollection.cs
- SectionVisual.cs
- AliasedSlot.cs
- BindingsCollection.cs
- FormClosedEvent.cs
- ObjectStateEntry.cs
- HostedBindingBehavior.cs
- ScopeElementCollection.cs
- NativeMethods.cs
- ComUdtElementCollection.cs
- ToolStrip.cs
- ITextView.cs
- ServiceOperation.cs
- SqlGenerator.cs
- ValidationErrorInfo.cs
- NameValueCollection.cs
- WebPermission.cs
- DataTableNameHandler.cs
- AuthStoreRoleProvider.cs
- ObjectDataSourceSelectingEventArgs.cs
- InfoCardProofToken.cs
- BitmapEffectGroup.cs
- UTF7Encoding.cs
- MemberProjectedSlot.cs
- Splitter.cs
- AuthenticateEventArgs.cs
- DispatcherHookEventArgs.cs
- Constraint.cs
- CurrentChangingEventManager.cs
- Animatable.cs
- PrintDialog.cs
- TreeWalker.cs
- Latin1Encoding.cs
- ImageFormatConverter.cs
- LightweightCodeGenerator.cs
- FormViewRow.cs
- XmlUtil.cs
- FrameworkElementFactory.cs
- XPathNavigator.cs
- TreeNodeStyle.cs
- XmlSchema.cs
- BitmapEffect.cs
- SymLanguageVendor.cs
- SelectingProviderEventArgs.cs
- AccessControlList.cs
- FontFamily.cs
- Polygon.cs
- MultiTouchSystemGestureLogic.cs
- XmlSchemaCollection.cs
- OracleFactory.cs
- ObjectHelper.cs
- StorageModelBuildProvider.cs
- MatrixCamera.cs
- ObjectSecurity.cs
- HttpConfigurationContext.cs
- AsnEncodedData.cs
- ConfigXmlComment.cs
- ExceptionUtil.cs
- CompositeFontFamily.cs
- XmlSchemaAttribute.cs
- GifBitmapDecoder.cs
- EdmFunctions.cs
- XslAst.cs
- assertwrapper.cs
- RawStylusInput.cs
- CompositeDataBoundControl.cs
- XmlNamespaceManager.cs
- TripleDESCryptoServiceProvider.cs
- DisplayNameAttribute.cs
- DataBoundControlDesigner.cs
- Matrix3D.cs
- DesignTimeType.cs
- PagePropertiesChangingEventArgs.cs
- SQlBooleanStorage.cs
- GlobalizationAssembly.cs
- TemplateParser.cs
- DefaultPropertiesToSend.cs
- MetadataHelper.cs
- XmlSchemaAny.cs
- HWStack.cs
- XmlAtomicValue.cs
- SizeKeyFrameCollection.cs
- TemplateColumn.cs
- RoutedEventHandlerInfo.cs
- WeakEventManager.cs
- XmlArrayAttribute.cs
- HelpHtmlBuilder.cs
- Delegate.cs
- HtmlInputPassword.cs
- FigureParagraph.cs
- InputReportEventArgs.cs
- InfoCardTrace.cs
- VisualStyleElement.cs
- SqlCacheDependencyDatabaseCollection.cs
- TargetException.cs
- DbProviderFactories.cs
- EditorResources.cs
- DrawingDrawingContext.cs
- TextParagraphCache.cs