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
- StringResourceManager.cs
- Misc.cs
- ConfigurationUtility.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- AddressAlreadyInUseException.cs
- ControlFilterExpression.cs
- XmlObjectSerializerReadContext.cs
- SQLConvert.cs
- EffectiveValueEntry.cs
- PropertyNames.cs
- ImageButton.cs
- HttpInputStream.cs
- HttpPostedFile.cs
- CharAnimationUsingKeyFrames.cs
- SourceElementsCollection.cs
- ToolboxService.cs
- XmlEnumAttribute.cs
- GrammarBuilderBase.cs
- StateDesigner.TransitionInfo.cs
- DllNotFoundException.cs
- SourceElementsCollection.cs
- ImageSourceConverter.cs
- PartialCachingAttribute.cs
- Pkcs9Attribute.cs
- OletxCommittableTransaction.cs
- TextSpan.cs
- VisualStyleTypesAndProperties.cs
- FormViewCommandEventArgs.cs
- BooleanSwitch.cs
- FixedFlowMap.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SystemIPv6InterfaceProperties.cs
- ObjectQuery.cs
- BinarySerializer.cs
- TextEditorLists.cs
- Tile.cs
- XmlSchemaException.cs
- Rethrow.cs
- DrawingContextWalker.cs
- XmlSchemaObjectTable.cs
- Run.cs
- DefaultValidator.cs
- HtmlControl.cs
- SymmetricKeyWrap.cs
- DataGridViewAddColumnDialog.cs
- MissingManifestResourceException.cs
- CompilerError.cs
- SystemTcpConnection.cs
- SuspendDesigner.cs
- FeatureManager.cs
- ZipIOLocalFileDataDescriptor.cs
- NonPrimarySelectionGlyph.cs
- TextContainerChangedEventArgs.cs
- Effect.cs
- SpecularMaterial.cs
- XmlSchemaSimpleTypeUnion.cs
- HttpListenerPrefixCollection.cs
- SqlMultiplexer.cs
- InfoCardRSACryptoProvider.cs
- DrawingGroup.cs
- Error.cs
- RTTypeWrapper.cs
- IsolatedStorage.cs
- GridEntryCollection.cs
- xmlNames.cs
- BaseValidator.cs
- SimpleTypeResolver.cs
- XmlUnspecifiedAttribute.cs
- FormViewDeleteEventArgs.cs
- WMIGenerator.cs
- KernelTypeValidation.cs
- ResizingMessageFilter.cs
- ProcessModule.cs
- PrtTicket_Base.cs
- SmtpLoginAuthenticationModule.cs
- HTTPNotFoundHandler.cs
- ValidateNames.cs
- IntellisenseTextBox.cs
- TypeSystem.cs
- ProgressBarBrushConverter.cs
- DataRelationPropertyDescriptor.cs
- BridgeDataRecord.cs
- SynchronizationLockException.cs
- ConnectionStringsExpressionBuilder.cs
- FillBehavior.cs
- CssStyleCollection.cs
- JsonReaderWriterFactory.cs
- XmlEntityReference.cs
- CustomCredentialPolicy.cs
- NTAccount.cs
- StopStoryboard.cs
- XamlHostingSectionGroup.cs
- EventHandlersStore.cs
- CategoryGridEntry.cs
- ParallelDesigner.xaml.cs
- RecognitionEventArgs.cs
- ConvertersCollection.cs
- DateTimeConverter.cs
- AssemblyBuilder.cs
- SQLDecimalStorage.cs