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
- ReadOnlyDataSource.cs
- SoapHeaderAttribute.cs
- X509ThumbprintKeyIdentifierClause.cs
- FixUp.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- RSAPKCS1SignatureDeformatter.cs
- DataGridViewCellStyle.cs
- SmtpAuthenticationManager.cs
- CompatibleIComparer.cs
- XamlVector3DCollectionSerializer.cs
- MSAAWinEventWrap.cs
- Label.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- SchemaImporterExtension.cs
- UnsafeCollabNativeMethods.cs
- Menu.cs
- DrawingAttributeSerializer.cs
- UnhandledExceptionEventArgs.cs
- DelegatingStream.cs
- BrowserCapabilitiesFactory.cs
- TextServicesHost.cs
- TagMapInfo.cs
- InvalidComObjectException.cs
- SemanticAnalyzer.cs
- FixedSOMPageConstructor.cs
- UseManagedPresentationBindingElement.cs
- FontSource.cs
- TaiwanLunisolarCalendar.cs
- FlowNode.cs
- Repeater.cs
- SecurityTraceRecordHelper.cs
- MetafileHeader.cs
- PrintingPermission.cs
- WindowsSolidBrush.cs
- FontFaceLayoutInfo.cs
- Array.cs
- SimpleWebHandlerParser.cs
- ProtocolsConfigurationHandler.cs
- OdbcConnectionFactory.cs
- XmlWellformedWriter.cs
- TabItem.cs
- ScrollChangedEventArgs.cs
- _HelperAsyncResults.cs
- EntityClientCacheEntry.cs
- MultiPartWriter.cs
- PlanCompiler.cs
- ProviderBase.cs
- Thickness.cs
- DrawingState.cs
- OlePropertyStructs.cs
- XmlElementAttribute.cs
- UnicodeEncoding.cs
- TransactionTable.cs
- LayoutEditorPart.cs
- EntityDataSourceContainerNameConverter.cs
- WinFormsSecurity.cs
- FontUnit.cs
- UInt16Converter.cs
- IIS7UserPrincipal.cs
- CompilationLock.cs
- ItemContainerProviderWrapper.cs
- UnsafeNativeMethods.cs
- GridViewColumn.cs
- KeyValuePairs.cs
- BlurEffect.cs
- TraceEventCache.cs
- WebPartHeaderCloseVerb.cs
- QilFunction.cs
- SQLInt64Storage.cs
- MarshalByValueComponent.cs
- BounceEase.cs
- TypeInitializationException.cs
- StringReader.cs
- ModelService.cs
- Pts.cs
- SymmetricKey.cs
- GACIdentityPermission.cs
- CompModSwitches.cs
- MultiPropertyDescriptorGridEntry.cs
- XmlAttributeCollection.cs
- SerializationEventsCache.cs
- ViewService.cs
- BufferedGraphics.cs
- WebServiceHandlerFactory.cs
- RijndaelManaged.cs
- EventProvider.cs
- ClientSettingsProvider.cs
- EmptyEnumerator.cs
- XmlQualifiedName.cs
- DependencyPropertyHelper.cs
- CultureTable.cs
- AsyncSerializedWorker.cs
- CustomCredentialPolicy.cs
- LayoutEvent.cs
- AuthorizationRuleCollection.cs
- Quaternion.cs
- DetailsViewUpdatedEventArgs.cs
- BulletedList.cs
- Dump.cs
- TcpActivation.cs