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
- XmlEntityReference.cs
- OleDbDataAdapter.cs
- BCLDebug.cs
- JsonQueryStringConverter.cs
- ObjectMaterializedEventArgs.cs
- ScriptingProfileServiceSection.cs
- LeaseManager.cs
- BindingGraph.cs
- SqlDataSourceView.cs
- BindingExpressionUncommonField.cs
- CollectionBuilder.cs
- XmlStreamStore.cs
- TransportContext.cs
- ConsumerConnectionPoint.cs
- InvalidDataException.cs
- ProgressChangedEventArgs.cs
- PageFunction.cs
- XmlDataProvider.cs
- DataSourceBooleanViewSchemaConverter.cs
- RegistryExceptionHelper.cs
- BindToObject.cs
- ResXDataNode.cs
- CalendarDateChangedEventArgs.cs
- ResourceIDHelper.cs
- EmbossBitmapEffect.cs
- SubpageParagraph.cs
- TabControlCancelEvent.cs
- StrokeCollection.cs
- SupportingTokenChannel.cs
- AssemblyHash.cs
- CodeCatchClauseCollection.cs
- EntityViewGenerationAttribute.cs
- _Win32.cs
- MULTI_QI.cs
- GPPOINT.cs
- EdmMember.cs
- XmlUtilWriter.cs
- SuppressMergeCheckAttribute.cs
- ProcessThread.cs
- DictionarySectionHandler.cs
- GetWinFXPath.cs
- CustomAttribute.cs
- TableCell.cs
- ServiceDocumentFormatter.cs
- StringFormat.cs
- DataColumnSelectionConverter.cs
- RootNamespaceAttribute.cs
- RunClient.cs
- LineBreak.cs
- UnsafeNativeMethods.cs
- HitTestFilterBehavior.cs
- XmlTextEncoder.cs
- SequenceFullException.cs
- File.cs
- EntityDataSourceViewSchema.cs
- Rect.cs
- ConfigurationStrings.cs
- ProtocolProfile.cs
- DispatchWrapper.cs
- QilReplaceVisitor.cs
- TextServicesHost.cs
- Underline.cs
- SudsParser.cs
- SystemDiagnosticsSection.cs
- NetworkCredential.cs
- CompositeActivityTypeDescriptorProvider.cs
- TextContainerChangeEventArgs.cs
- Italic.cs
- DecimalConstantAttribute.cs
- KnownIds.cs
- XslException.cs
- AutomationElementCollection.cs
- HScrollBar.cs
- GroupItem.cs
- NamedPermissionSet.cs
- EventEntry.cs
- SqlDataSourceCommandParser.cs
- DataGridRowHeaderAutomationPeer.cs
- Models.cs
- StrongName.cs
- KeyConverter.cs
- ObjectIDGenerator.cs
- Certificate.cs
- Int32Storage.cs
- DefaultValueAttribute.cs
- DbConnectionOptions.cs
- _TransmitFileOverlappedAsyncResult.cs
- DataGridColumnHeaderCollection.cs
- XmlJsonWriter.cs
- TrackingWorkflowEventArgs.cs
- BoolExpression.cs
- CodeLabeledStatement.cs
- Converter.cs
- TableItemPattern.cs
- PrintEvent.cs
- DataGridViewIntLinkedList.cs
- JobPageOrder.cs
- GlobalizationSection.cs
- SQLInt16Storage.cs
- WebPartConnectionsCloseVerb.cs