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
- PowerModeChangedEventArgs.cs
- Select.cs
- Byte.cs
- DataListItemEventArgs.cs
- StringBuilder.cs
- Transform3DGroup.cs
- FormViewModeEventArgs.cs
- InputLanguageManager.cs
- GeneralTransform.cs
- XmlStringTable.cs
- CompModHelpers.cs
- NonceCache.cs
- WebPartTransformerCollection.cs
- ThaiBuddhistCalendar.cs
- GridItem.cs
- MdImport.cs
- LogSwitch.cs
- UnionExpr.cs
- ObjectDataSource.cs
- SizeAnimation.cs
- CheckBoxAutomationPeer.cs
- XmlHierarchicalDataSourceView.cs
- XmlLoader.cs
- DynamicActionMessageFilter.cs
- StringBuilder.cs
- Point3D.cs
- Evaluator.cs
- GatewayDefinition.cs
- DataControlFieldCell.cs
- GenerateHelper.cs
- SqlRowUpdatingEvent.cs
- SapiRecoInterop.cs
- StatusInfoItem.cs
- Byte.cs
- RoutedEventValueSerializer.cs
- FontWeights.cs
- MergeFailedEvent.cs
- NamedPipeConnectionPool.cs
- ColumnResult.cs
- FormatterConverter.cs
- ConnectionPointCookie.cs
- XmlNamedNodeMap.cs
- DynamicVirtualDiscoSearcher.cs
- IConvertible.cs
- TableRowCollection.cs
- DataFormats.cs
- XmlCharacterData.cs
- _ListenerAsyncResult.cs
- SqlDataSourceConfigureFilterForm.cs
- SqlMetaData.cs
- NamespaceCollection.cs
- Filter.cs
- DocumentViewerHelper.cs
- ThreadBehavior.cs
- PropertyDescriptorCollection.cs
- PresentationSource.cs
- HtmlInputControl.cs
- NodeInfo.cs
- XmlSerializerImportOptions.cs
- CertificateManager.cs
- ScriptIgnoreAttribute.cs
- SeverityFilter.cs
- NullableFloatSumAggregationOperator.cs
- TypeExtensionConverter.cs
- DataBoundControlHelper.cs
- Soap12ProtocolImporter.cs
- CachedCompositeFamily.cs
- HorizontalAlignConverter.cs
- WMIGenerator.cs
- BidOverLoads.cs
- AtlasWeb.Designer.cs
- InfoCardAsymmetricCrypto.cs
- Underline.cs
- StreamGeometryContext.cs
- WindowsListViewSubItem.cs
- XhtmlBasicPanelAdapter.cs
- SamlSecurityTokenAuthenticator.cs
- PropertyGridEditorPart.cs
- MsmqIntegrationProcessProtocolHandler.cs
- HtmlTernaryTree.cs
- SendingRequestEventArgs.cs
- ModuleBuilderData.cs
- SubclassTypeValidatorAttribute.cs
- CompatibleComparer.cs
- TraceRecords.cs
- listitem.cs
- BasicCommandTreeVisitor.cs
- TextFormatter.cs
- SapiRecoContext.cs
- MruCache.cs
- VariableQuery.cs
- EntityTemplateUserControl.cs
- ImportCatalogPart.cs
- AssertSection.cs
- MDIControlStrip.cs
- KeySplineConverter.cs
- PolyLineSegment.cs
- documentsequencetextview.cs
- ComboBox.cs
- EventPropertyMap.cs