Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TextRenderingModeValidation.cs / 1305600 / TextRenderingModeValidation.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 IsTextRenderingModeValid(object valueObject) { TextRenderingMode value = (TextRenderingMode) valueObject; return (value == TextRenderingMode.Auto) || (value == TextRenderingMode.Aliased) || (value == TextRenderingMode.Grayscale) || (value == TextRenderingMode.ClearType); } } } // 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
- CellCreator.cs
- Size3DConverter.cs
- ImageConverter.cs
- CopyOnWriteList.cs
- ConstantSlot.cs
- Int16.cs
- GridViewHeaderRowPresenter.cs
- Constant.cs
- Section.cs
- TagPrefixAttribute.cs
- ColorTransformHelper.cs
- VSWCFServiceContractGenerator.cs
- ToolStripPanel.cs
- XmlNodeReader.cs
- VectorCollectionConverter.cs
- ColumnHeaderConverter.cs
- DbDataSourceEnumerator.cs
- FontEmbeddingManager.cs
- XNodeNavigator.cs
- DoubleAnimationClockResource.cs
- ConstraintManager.cs
- ProfileBuildProvider.cs
- COM2ExtendedBrowsingHandler.cs
- SqlDataSourceFilteringEventArgs.cs
- ReadOnlyCollectionBase.cs
- NativeMethods.cs
- WebEventCodes.cs
- Configuration.cs
- NativeMethods.cs
- InstanceCollisionException.cs
- WorkflowControlEndpoint.cs
- XPathMultyIterator.cs
- XmlnsPrefixAttribute.cs
- SR.cs
- ToolboxItemCollection.cs
- SaveCardRequest.cs
- DesignObjectWrapper.cs
- VersionedStreamOwner.cs
- ExistsInCollection.cs
- ExpressionEvaluator.cs
- BuiltInExpr.cs
- SqlServer2KCompatibilityAnnotation.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- PropertyDescriptors.cs
- ToolStripItemRenderEventArgs.cs
- XmlKeywords.cs
- TextTreeObjectNode.cs
- TargetInvocationException.cs
- BamlResourceContent.cs
- SymLanguageVendor.cs
- ApplicationHost.cs
- MbpInfo.cs
- ToolboxComponentsCreatedEventArgs.cs
- TileModeValidation.cs
- DeploymentSectionCache.cs
- DesignerTextWriter.cs
- TransformerTypeCollection.cs
- XsdBuilder.cs
- StylusPoint.cs
- SourceElementsCollection.cs
- GenericIdentity.cs
- ColorConvertedBitmap.cs
- _NativeSSPI.cs
- DataServiceQuery.cs
- StylusButtonCollection.cs
- ISCIIEncoding.cs
- PasswordTextNavigator.cs
- ContextMarshalException.cs
- ContextToken.cs
- Cursors.cs
- AnnouncementService.cs
- Floater.cs
- FrameDimension.cs
- GridViewSelectEventArgs.cs
- CultureSpecificCharacterBufferRange.cs
- CustomErrorCollection.cs
- GroupBoxAutomationPeer.cs
- Thickness.cs
- LocalizabilityAttribute.cs
- HtmlToClrEventProxy.cs
- SystemFonts.cs
- SafeLibraryHandle.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ObjectDataSourceFilteringEventArgs.cs
- PathFigureCollectionConverter.cs
- _UncName.cs
- XmlEncodedRawTextWriter.cs
- AxHost.cs
- DrawingContextDrawingContextWalker.cs
- MailSettingsSection.cs
- ConfigurationErrorsException.cs
- XmlStreamStore.cs
- ExecutionEngineException.cs
- ErrorInfoXmlDocument.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- PageCatalogPart.cs
- StrongNameIdentityPermission.cs
- AssemblyHelper.cs
- HostProtectionPermission.cs
- PersistenceMetadataNamespace.cs