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
- DataSvcMapFileSerializer.cs
- FixedNode.cs
- cryptoapiTransform.cs
- QuaternionRotation3D.cs
- Method.cs
- HyperLinkDataBindingHandler.cs
- Int64AnimationBase.cs
- COAUTHIDENTITY.cs
- ToolStrip.cs
- CryptoApi.cs
- LambdaValue.cs
- CodeTypeReferenceExpression.cs
- CopyOfAction.cs
- WSSecurityPolicy.cs
- GraphicsContainer.cs
- Tablet.cs
- OracleTimeSpan.cs
- DataServiceConfiguration.cs
- NotCondition.cs
- Menu.cs
- StructuralCache.cs
- ContentPlaceHolder.cs
- CommandHelpers.cs
- Helper.cs
- BrowserTree.cs
- SurrogateSelector.cs
- DataGridViewRowEventArgs.cs
- ObjectDataSource.cs
- PhysicalAddress.cs
- FileInfo.cs
- CodeTypeReferenceExpression.cs
- ToolStripScrollButton.cs
- XmlHierarchyData.cs
- DataBindingCollection.cs
- CodeBlockBuilder.cs
- DataGridToolTip.cs
- SerializationInfoEnumerator.cs
- XmlUtil.cs
- CustomExpressionEventArgs.cs
- ServiceHttpHandlerFactory.cs
- AudioStateChangedEventArgs.cs
- exports.cs
- ThicknessAnimation.cs
- ConvertEvent.cs
- TransformationRules.cs
- XmlAttributeCache.cs
- AtomEntry.cs
- WizardPanelChangingEventArgs.cs
- ConfigurationLocationCollection.cs
- ModulesEntry.cs
- SolidBrush.cs
- SelectionPatternIdentifiers.cs
- StylusButtonEventArgs.cs
- DesignSurface.cs
- LocalizationComments.cs
- CSharpCodeProvider.cs
- StrokeNode.cs
- File.cs
- ReadOnlyState.cs
- StringPropertyBuilder.cs
- cookieexception.cs
- EngineSiteSapi.cs
- EndpointDispatcher.cs
- CustomCredentialPolicy.cs
- UrlParameterWriter.cs
- DocumentCollection.cs
- XPathBinder.cs
- RemoteWebConfigurationHostStream.cs
- DataSourceXmlClassAttribute.cs
- MappingItemCollection.cs
- ExternalFile.cs
- ExceptionValidationRule.cs
- TdsParserStateObject.cs
- DictionarySurrogate.cs
- MachineSettingsSection.cs
- HttpException.cs
- ContractMapping.cs
- Attachment.cs
- DbConnectionPoolGroupProviderInfo.cs
- DataTableTypeConverter.cs
- GeneralTransform2DTo3DTo2D.cs
- WCFServiceClientProxyGenerator.cs
- CheckBox.cs
- TagMapCollection.cs
- SettingsPropertyNotFoundException.cs
- SpellCheck.cs
- GridViewUpdatedEventArgs.cs
- JsonReaderDelegator.cs
- itemelement.cs
- ItemsPanelTemplate.cs
- ObjectAnimationBase.cs
- BindUriHelper.cs
- ClientRequest.cs
- ConfigurationLocationCollection.cs
- MessageQueueException.cs
- JsonObjectDataContract.cs
- CompositionTarget.cs
- RoutingConfiguration.cs
- WinCategoryAttribute.cs
- ObjectListGeneralPage.cs