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
- XmlAttributes.cs
- XmlFormatWriterGenerator.cs
- WebBrowsableAttribute.cs
- XsdCachingReader.cs
- DescendantBaseQuery.cs
- AppSecurityManager.cs
- StateItem.cs
- InheritanceContextHelper.cs
- SqlCommandAsyncResult.cs
- XmlSchemaSearchPattern.cs
- ClientSection.cs
- FontDifferentiator.cs
- XmlSchemaElement.cs
- WebSysDefaultValueAttribute.cs
- XmlQueryOutput.cs
- HtmlInputReset.cs
- ListViewEditEventArgs.cs
- SQLInt16.cs
- Size.cs
- AttributeUsageAttribute.cs
- UserInitiatedNavigationPermission.cs
- ByteStreamMessageUtility.cs
- AccessDataSource.cs
- Propagator.cs
- CounterSet.cs
- basevalidator.cs
- SubqueryTrackingVisitor.cs
- BindingCollection.cs
- ParallelTimeline.cs
- ImageDrawing.cs
- ProfileManager.cs
- followingsibling.cs
- ProjectionCamera.cs
- _ChunkParse.cs
- ObjectPersistData.cs
- DBSqlParser.cs
- NameSpaceEvent.cs
- StreamMarshaler.cs
- TypeSystemProvider.cs
- HttpRequest.cs
- HighlightComponent.cs
- ListBoxAutomationPeer.cs
- ListView.cs
- Model3D.cs
- ResourceSet.cs
- DefinitionUpdate.cs
- WebPartManagerInternals.cs
- DynamicResourceExtensionConverter.cs
- Executor.cs
- X509Utils.cs
- ConfigXmlText.cs
- WebPartDisplayMode.cs
- Table.cs
- ExceptionUtil.cs
- SingleObjectCollection.cs
- DataGridViewImageCell.cs
- EventLogPermissionAttribute.cs
- DataRelation.cs
- dataobject.cs
- TextBoxLine.cs
- Attribute.cs
- ScrollChrome.cs
- DirectoryRootQuery.cs
- SpellerStatusTable.cs
- SqlProfileProvider.cs
- ViewStateAttachedPropertyFeature.cs
- BrowserCapabilitiesFactory.cs
- EntityDataSourceMemberPath.cs
- StrokeSerializer.cs
- IdentityReference.cs
- FaultCallbackWrapper.cs
- SqlSupersetValidator.cs
- CommandConverter.cs
- DataGridViewTopRowAccessibleObject.cs
- OdbcConnectionHandle.cs
- DateTimeUtil.cs
- DLinqDataModelProvider.cs
- ValueExpressions.cs
- DiscardableAttribute.cs
- SectionVisual.cs
- SessionStateSection.cs
- Color.cs
- CacheAxisQuery.cs
- HwndHost.cs
- ProvidersHelper.cs
- HMACSHA512.cs
- OleAutBinder.cs
- ExtensionQuery.cs
- ValidatedControlConverter.cs
- DriveInfo.cs
- DataControlFieldCell.cs
- InputScope.cs
- WebPartEditorCancelVerb.cs
- ErrorFormatterPage.cs
- PowerEase.cs
- ResourceDescriptionAttribute.cs
- RoleGroupCollection.cs
- FlowchartStart.xaml.cs
- WorkflowControlClient.cs
- WebHttpEndpoint.cs