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
- OdbcTransaction.cs
- IssuedTokenParametersElement.cs
- HttpContext.cs
- OpenFileDialog.cs
- SecurityRequiresReviewAttribute.cs
- SQLGuid.cs
- DataServiceQueryProvider.cs
- ExtentCqlBlock.cs
- EndCreateSecurityTokenRequest.cs
- SafeMILHandleMemoryPressure.cs
- ColumnReorderedEventArgs.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- ReferenceEqualityComparer.cs
- DecoderExceptionFallback.cs
- EmptyEnumerable.cs
- MetadataCache.cs
- DaylightTime.cs
- CustomAttribute.cs
- IPEndPoint.cs
- DropShadowBitmapEffect.cs
- DeflateInput.cs
- dsa.cs
- CheckBoxField.cs
- DesignerEventService.cs
- XpsS0ValidatingLoader.cs
- XmlIncludeAttribute.cs
- CssStyleCollection.cs
- QuaternionAnimation.cs
- UniformGrid.cs
- ManagementDateTime.cs
- CompilationRelaxations.cs
- _ProxyChain.cs
- EntityClientCacheEntry.cs
- IProducerConsumerCollection.cs
- QueuedDeliveryRequirementsMode.cs
- ProcessModule.cs
- AppendHelper.cs
- DaylightTime.cs
- HtmlForm.cs
- VisualTreeFlattener.cs
- RectAnimationBase.cs
- WrapperSecurityCommunicationObject.cs
- CodeAttachEventStatement.cs
- BinaryConverter.cs
- SourceFileBuildProvider.cs
- BulletChrome.cs
- PointF.cs
- oledbmetadatacolumnnames.cs
- ContentType.cs
- ScrollViewer.cs
- DataGridColumn.cs
- Application.cs
- ObjectHelper.cs
- _NtlmClient.cs
- TextBreakpoint.cs
- cookie.cs
- InvalidMessageContractException.cs
- Delay.cs
- StreamAsIStream.cs
- GeometryValueSerializer.cs
- StorageAssociationSetMapping.cs
- ServiceMemoryGates.cs
- CssStyleCollection.cs
- SemanticAnalyzer.cs
- ButtonFlatAdapter.cs
- validation.cs
- DebugTrace.cs
- StyleCollection.cs
- DuplicateDetector.cs
- _ProxyChain.cs
- InstanceDataCollection.cs
- CqlWriter.cs
- ExceptionHandlersDesigner.cs
- CollectionChange.cs
- EntityStoreSchemaFilterEntry.cs
- NegationPusher.cs
- ServiceNameElement.cs
- TabPage.cs
- InputLanguageProfileNotifySink.cs
- HttpCachePolicy.cs
- WebPartDeleteVerb.cs
- BaseAsyncResult.cs
- XmlTextAttribute.cs
- ListParaClient.cs
- PolyBezierSegment.cs
- CheckBox.cs
- DocumentAutomationPeer.cs
- AnchoredBlock.cs
- MethodBody.cs
- WmiEventSink.cs
- FirstMatchCodeGroup.cs
- Html32TextWriter.cs
- RegisteredScript.cs
- AssemblyUtil.cs
- TypeConverter.cs
- MLangCodePageEncoding.cs
- XamlReaderHelper.cs
- CodeValidator.cs
- _HeaderInfo.cs
- SymbolType.cs