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
- _TimerThread.cs
- DbDataRecord.cs
- SchemaNames.cs
- EpmContentSerializer.cs
- StyleModeStack.cs
- DefaultValueMapping.cs
- LocationInfo.cs
- KeyManager.cs
- DesignerForm.cs
- KeyInterop.cs
- GeneratedView.cs
- DockingAttribute.cs
- OleStrCAMarshaler.cs
- CollectionViewSource.cs
- ButtonFieldBase.cs
- ObjectDataSourceMethodEventArgs.cs
- ByteStack.cs
- KnownIds.cs
- ItemCollectionEditor.cs
- AndCondition.cs
- WebPartPersonalization.cs
- XmlMtomWriter.cs
- ThreadAttributes.cs
- EditorPartChrome.cs
- XmlSignatureProperties.cs
- HMACRIPEMD160.cs
- TreeViewCancelEvent.cs
- GridPatternIdentifiers.cs
- ResourceContainer.cs
- XmlQueryOutput.cs
- ColorContext.cs
- EventItfInfo.cs
- AssemblySettingAttributes.cs
- DisplayInformation.cs
- HandleInitializationContext.cs
- SafeViewOfFileHandle.cs
- CompilationUtil.cs
- BitStream.cs
- CompositeDataBoundControl.cs
- SqlInternalConnectionTds.cs
- SizeConverter.cs
- SQLByte.cs
- ListItem.cs
- SiteIdentityPermission.cs
- ToolStripArrowRenderEventArgs.cs
- Viewport3DVisual.cs
- FileVersion.cs
- GradientStop.cs
- InheritedPropertyChangedEventArgs.cs
- NotifyIcon.cs
- LinqMaximalSubtreeNominator.cs
- CLRBindingWorker.cs
- CodeMemberEvent.cs
- CompressStream.cs
- DeadCharTextComposition.cs
- DataFieldCollectionEditor.cs
- EditableRegion.cs
- EntityContainerEmitter.cs
- Object.cs
- MimePart.cs
- HostedNamedPipeTransportManager.cs
- Matrix.cs
- GridViewDeleteEventArgs.cs
- ImportCatalogPart.cs
- KeyManager.cs
- HiddenFieldDesigner.cs
- PropertyInformation.cs
- HtmlInputPassword.cs
- ShapingEngine.cs
- PaginationProgressEventArgs.cs
- HttpAsyncResult.cs
- TabControl.cs
- HandleCollector.cs
- SingleConverter.cs
- GraphicsPath.cs
- GeneralTransform2DTo3D.cs
- TemplateControlParser.cs
- DbFunctionCommandTree.cs
- HandlerMappingMemo.cs
- Int64KeyFrameCollection.cs
- ProtocolsConfigurationHandler.cs
- NameValueConfigurationElement.cs
- TcpTransportManager.cs
- ObjectDataSourceStatusEventArgs.cs
- VoiceInfo.cs
- MouseActionConverter.cs
- StrongNameUtility.cs
- AssemblyInfo.cs
- OwnerDrawPropertyBag.cs
- ContentType.cs
- FunctionOverloadResolver.cs
- Token.cs
- IriParsingElement.cs
- TailPinnedEventArgs.cs
- RedistVersionInfo.cs
- EntityDataSourceSelectedEventArgs.cs
- ObjectContext.cs
- TypeExtensionConverter.cs
- SchemaDeclBase.cs
- DecoderFallback.cs