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
- StackBuilderSink.cs
- PeerCustomResolverSettings.cs
- Compiler.cs
- StringFormat.cs
- HtmlSelect.cs
- XmlCustomFormatter.cs
- X509ChainPolicy.cs
- DecimalConverter.cs
- Int32Storage.cs
- DigitShape.cs
- ScriptDescriptor.cs
- XmlSchemaAnnotated.cs
- ImageFormatConverter.cs
- EpmSyndicationContentSerializer.cs
- QuaternionAnimationBase.cs
- CodeTypeMemberCollection.cs
- DataFormats.cs
- CultureInfoConverter.cs
- DispatcherExceptionEventArgs.cs
- activationcontext.cs
- Deflater.cs
- AllowedAudienceUriElement.cs
- XsltLibrary.cs
- ToolStripRenderEventArgs.cs
- Model3D.cs
- WebConfigurationHost.cs
- URI.cs
- KeyValueInternalCollection.cs
- CompModHelpers.cs
- ImageMap.cs
- DetailsViewPagerRow.cs
- TemplateBindingExpressionConverter.cs
- OutputScopeManager.cs
- SmtpFailedRecipientException.cs
- UpdateExpressionVisitor.cs
- PropertyDescriptorGridEntry.cs
- basemetadatamappingvisitor.cs
- CodeSubDirectory.cs
- DataBinder.cs
- ByeOperationAsyncResult.cs
- TypeUtils.cs
- SaveFileDialogDesigner.cs
- ConnectionProviderAttribute.cs
- ProtectedConfiguration.cs
- HandleRef.cs
- OleDbStruct.cs
- OleDbParameter.cs
- HiddenFieldPageStatePersister.cs
- SqlFacetAttribute.cs
- TreeNodeBinding.cs
- QuaternionAnimation.cs
- PolyBezierSegment.cs
- ComponentEditorPage.cs
- Int16KeyFrameCollection.cs
- MemberMaps.cs
- Adorner.cs
- JsonObjectDataContract.cs
- EdmValidator.cs
- Peer.cs
- XmlLanguageConverter.cs
- MetadataSource.cs
- Errors.cs
- CompletionBookmark.cs
- Native.cs
- KeyProperty.cs
- PermissionSetTriple.cs
- ReflectEventDescriptor.cs
- TraceContextEventArgs.cs
- MediaCommands.cs
- HttpCacheParams.cs
- panel.cs
- XmlDocumentSerializer.cs
- ArgumentDirectionHelper.cs
- ScrollItemPattern.cs
- GiveFeedbackEvent.cs
- HeaderedItemsControl.cs
- RenderDataDrawingContext.cs
- ListManagerBindingsCollection.cs
- FunctionNode.cs
- PseudoWebRequest.cs
- CheckBoxRenderer.cs
- CaseStatementProjectedSlot.cs
- PopupRootAutomationPeer.cs
- ContentDisposition.cs
- PreviewKeyDownEventArgs.cs
- RemoteDebugger.cs
- tibetanshape.cs
- FixedBufferAttribute.cs
- ConvertersCollection.cs
- SHA384Cng.cs
- ClickablePoint.cs
- Accessors.cs
- ConfigXmlCDataSection.cs
- EntityProviderFactory.cs
- ScriptControlDescriptor.cs
- DataObjectEventArgs.cs
- AnnouncementSendsAsyncResult.cs
- GeneralTransform3D.cs
- GrammarBuilder.cs
- TableHeaderCell.cs