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
- IResourceProvider.cs
- MailHeaderInfo.cs
- MessagePropertyVariants.cs
- XmlNodeReader.cs
- FormViewModeEventArgs.cs
- MatrixUtil.cs
- Domain.cs
- AssemblyAttributesGoHere.cs
- LinkedResource.cs
- SelectionItemPattern.cs
- CollectionViewGroupRoot.cs
- FieldDescriptor.cs
- odbcmetadatacollectionnames.cs
- QilUnary.cs
- NeutralResourcesLanguageAttribute.cs
- mongolianshape.cs
- ProgressBar.cs
- ProcessHostConfigUtils.cs
- BrowserCapabilitiesCodeGenerator.cs
- WriteableBitmap.cs
- XmlExpressionDumper.cs
- Events.cs
- IPeerNeighbor.cs
- GestureRecognitionResult.cs
- _UriSyntax.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- EndpointNameMessageFilter.cs
- PartialClassGenerationTask.cs
- AbandonedMutexException.cs
- Exceptions.cs
- FreeFormDesigner.cs
- PolygonHotSpot.cs
- MergeLocalizationDirectives.cs
- ServiceMetadataContractBehavior.cs
- BaseResourcesBuildProvider.cs
- IncrementalCompileAnalyzer.cs
- DynamicActionMessageFilter.cs
- oledbmetadatacollectionnames.cs
- ThreadAttributes.cs
- SigningDialog.cs
- MissingSatelliteAssemblyException.cs
- KeyGestureConverter.cs
- PopupRoot.cs
- AsymmetricKeyExchangeFormatter.cs
- RealProxy.cs
- WinFormsSpinner.cs
- FlatButtonAppearance.cs
- SignatureHelper.cs
- DrawingVisualDrawingContext.cs
- Multiply.cs
- DbConnectionOptions.cs
- URL.cs
- WebBrowserSiteBase.cs
- IdentityReference.cs
- SqlReferenceCollection.cs
- TypeRestriction.cs
- ContextStack.cs
- FlowchartStart.xaml.cs
- GradientSpreadMethodValidation.cs
- GridEntry.cs
- ReadWriteObjectLock.cs
- EncodingDataItem.cs
- GridViewDeleteEventArgs.cs
- OracleTransaction.cs
- EdmProperty.cs
- PropertyTabChangedEvent.cs
- WindowsUpDown.cs
- ListViewDeleteEventArgs.cs
- SessionPageStatePersister.cs
- DataColumnChangeEvent.cs
- Base64Encoder.cs
- OracleString.cs
- UnsafeNativeMethods.cs
- FactoryGenerator.cs
- ValueExpressions.cs
- DetailsViewUpdatedEventArgs.cs
- BindToObject.cs
- DefaultAutoFieldGenerator.cs
- BitmapEffectvisualstate.cs
- Vector3D.cs
- ServerValidateEventArgs.cs
- LinqExpressionNormalizer.cs
- BulletChrome.cs
- NavigatorInput.cs
- complextypematerializer.cs
- HandlerMappingMemo.cs
- XmlBinaryReader.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- ToolStripPanel.cs
- SequenceDesigner.cs
- SqlNodeAnnotations.cs
- AccessDataSourceView.cs
- SqlServer2KCompatibilityCheck.cs
- RowSpanVector.cs
- TrackingMemoryStreamFactory.cs
- DataList.cs
- DataGridParentRows.cs
- BaseTreeIterator.cs
- ErrorWrapper.cs
- XmlSchemaComplexContent.cs