Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TextHintingModeValidation.cs / 1305600 / TextHintingModeValidation.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 IsTextHintingModeValid(object valueObject) { TextHintingMode value = (TextHintingMode) valueObject; return (value == TextHintingMode.Auto) || (value == TextHintingMode.Fixed) || (value == TextHintingMode.Animated); } } } // 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
- AudioBase.cs
- CodeCatchClause.cs
- ListControl.cs
- _PooledStream.cs
- TemplateContainer.cs
- XPathEmptyIterator.cs
- DataBinder.cs
- SelectionProviderWrapper.cs
- FunctionCommandText.cs
- PersonalizationProviderCollection.cs
- SqlDependencyUtils.cs
- BuildManager.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- FixedElement.cs
- FormViewPageEventArgs.cs
- LockedAssemblyCache.cs
- Vector3DAnimationBase.cs
- Rotation3D.cs
- DataGridViewIntLinkedList.cs
- SmtpException.cs
- WebPartExportVerb.cs
- COM2ComponentEditor.cs
- SmtpReplyReaderFactory.cs
- CaretElement.cs
- TrackingValidationObjectDictionary.cs
- RegionIterator.cs
- DelegateSerializationHolder.cs
- RangeBaseAutomationPeer.cs
- XamlTypeWithExplicitNamespace.cs
- DetailsViewInsertedEventArgs.cs
- Point.cs
- TimerEventSubscriptionCollection.cs
- RijndaelManagedTransform.cs
- FormViewInsertEventArgs.cs
- AnimationTimeline.cs
- FlagsAttribute.cs
- RC2.cs
- XmlTextWriter.cs
- _ShellExpression.cs
- FloatSumAggregationOperator.cs
- TabControlDesigner.cs
- odbcmetadatacollectionnames.cs
- HttpServerVarsCollection.cs
- ServiceChannelProxy.cs
- MergeFilterQuery.cs
- FusionWrap.cs
- TextContainer.cs
- CustomAttribute.cs
- GenericPrincipal.cs
- TimeSpanOrInfiniteValidator.cs
- XmlChildEnumerator.cs
- StrokeNodeOperations.cs
- DataListGeneralPage.cs
- TrimSurroundingWhitespaceAttribute.cs
- Avt.cs
- NavigationWindow.cs
- StringFunctions.cs
- ServiceReference.cs
- SchemaNamespaceManager.cs
- Interlocked.cs
- DataBindingHandlerAttribute.cs
- TextRange.cs
- Control.cs
- CustomCategoryAttribute.cs
- ServicePointManagerElement.cs
- SolidColorBrush.cs
- _OverlappedAsyncResult.cs
- UrlAuthorizationModule.cs
- QueryCacheEntry.cs
- SurrogateSelector.cs
- PluggableProtocol.cs
- COAUTHINFO.cs
- RectangleHotSpot.cs
- UserValidatedEventArgs.cs
- DeadCharTextComposition.cs
- SafeWaitHandle.cs
- LayoutUtils.cs
- CodeTryCatchFinallyStatement.cs
- XmlAttributes.cs
- QilStrConcat.cs
- DataPagerFieldItem.cs
- coordinator.cs
- DataGridViewCellPaintingEventArgs.cs
- DataBindingHandlerAttribute.cs
- ListItemViewAttribute.cs
- GeneralTransform3D.cs
- HtmlAnchor.cs
- CharStorage.cs
- SerializationSectionGroup.cs
- _NegoState.cs
- NavigationProgressEventArgs.cs
- SpellerHighlightLayer.cs
- DataGridViewTextBoxEditingControl.cs
- EUCJPEncoding.cs
- RoleBoolean.cs
- SafeLocalAllocation.cs
- TextBlock.cs
- RewritingValidator.cs
- BezierSegment.cs
- TemplateColumn.cs