Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / ClearTypeHintValidation.cs / 1305600 / ClearTypeHintValidation.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 IsClearTypeHintValid(object valueObject) { ClearTypeHint value = (ClearTypeHint) valueObject; return (value == ClearTypeHint.Auto) || (value == ClearTypeHint.Enabled); } } } // 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
- ObjectMaterializedEventArgs.cs
- ConfigurationStrings.cs
- WhitespaceRuleReader.cs
- NotifyInputEventArgs.cs
- TextViewElement.cs
- CompilerError.cs
- MenuItemStyleCollection.cs
- DataGridViewBindingCompleteEventArgs.cs
- ListViewGroupConverter.cs
- Literal.cs
- QuotedPrintableStream.cs
- ReadOnlyDataSource.cs
- QuadraticBezierSegment.cs
- MenuCommand.cs
- TcpStreams.cs
- ProcessHostConfigUtils.cs
- XmlHierarchyData.cs
- XamlWriter.cs
- ScriptResourceMapping.cs
- HttpWebRequest.cs
- DataGridLengthConverter.cs
- SortAction.cs
- AnnotationMap.cs
- Function.cs
- FileUtil.cs
- ConfigurationValue.cs
- MiniLockedBorderGlyph.cs
- tooltip.cs
- DataContractSet.cs
- AsyncResult.cs
- RangeValueProviderWrapper.cs
- ConnectionInterfaceCollection.cs
- XmlText.cs
- FilterableAttribute.cs
- ComponentSerializationService.cs
- HostedHttpRequestAsyncResult.cs
- ProcessModule.cs
- DllHostedComPlusServiceHost.cs
- Type.cs
- MappingItemCollection.cs
- InkCanvasSelection.cs
- UIElementIsland.cs
- CompModHelpers.cs
- Membership.cs
- HtmlInputPassword.cs
- KoreanCalendar.cs
- RankException.cs
- ImageListUtils.cs
- SpellerInterop.cs
- TabPage.cs
- MonthCalendar.cs
- ObjectQuery.cs
- FunctionParameter.cs
- InputBuffer.cs
- MissingMethodException.cs
- SqlConnection.cs
- HttpConfigurationSystem.cs
- ActivityExecutorDelegateInfo.cs
- ScalarRestriction.cs
- SQLBoolean.cs
- PropertyEmitter.cs
- OrderPreservingPipeliningSpoolingTask.cs
- _WebProxyDataBuilder.cs
- Canvas.cs
- BulletChrome.cs
- PersonalizableTypeEntry.cs
- EdmSchemaAttribute.cs
- SqlDataReaderSmi.cs
- UnauthorizedAccessException.cs
- Int16.cs
- MouseGestureValueSerializer.cs
- SchemaAttDef.cs
- DesignerExtenders.cs
- StateManagedCollection.cs
- MouseActionConverter.cs
- BigInt.cs
- BlurEffect.cs
- RSAPKCS1SignatureDeformatter.cs
- RemotingAttributes.cs
- DetailsViewPageEventArgs.cs
- TransactionFlowBindingElementImporter.cs
- ConfigurationLockCollection.cs
- TextTrailingCharacterEllipsis.cs
- DbConnectionPoolOptions.cs
- CapabilitiesRule.cs
- LockCookie.cs
- AutomationIdentifier.cs
- Speller.cs
- XmlSchemaAll.cs
- HtmlLink.cs
- HttpProfileBase.cs
- StartUpEventArgs.cs
- SerializerWriterEventHandlers.cs
- CDSCollectionETWBCLProvider.cs
- TemplateControlParser.cs
- OpenTypeMethods.cs
- DefaultPrintController.cs
- ServiceRouteHandler.cs
- XmlnsPrefixAttribute.cs
- PeerEndPoint.cs