Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- TypedServiceOperationListItem.cs
- AtomMaterializer.cs
- DependencyPropertyValueSerializer.cs
- FacetChecker.cs
- TransferMode.cs
- DrawingCollection.cs
- TemplateEditingFrame.cs
- SQlBooleanStorage.cs
- KoreanLunisolarCalendar.cs
- XmlAttributeCollection.cs
- RedBlackList.cs
- DataGridViewToolTip.cs
- SkipQueryOptionExpression.cs
- BufferedGraphics.cs
- StaticExtensionConverter.cs
- DayRenderEvent.cs
- HttpFileCollection.cs
- ToRequest.cs
- ReadOnlyPropertyMetadata.cs
- PopupEventArgs.cs
- OleDbReferenceCollection.cs
- CodeExpressionStatement.cs
- ComponentDispatcherThread.cs
- DebuggerAttributes.cs
- SimpleHandlerBuildProvider.cs
- Pkcs7Signer.cs
- AuthorizationRuleCollection.cs
- ManipulationDelta.cs
- StringSource.cs
- DatePickerTextBox.cs
- IDReferencePropertyAttribute.cs
- PanelStyle.cs
- SafeCoTaskMem.cs
- PrincipalPermission.cs
- CollectionBuilder.cs
- FixedNode.cs
- UnmanagedMemoryStream.cs
- XmlElementAttribute.cs
- StructuredTypeInfo.cs
- ProviderBase.cs
- PrintController.cs
- PaginationProgressEventArgs.cs
- ProfilePropertyNameValidator.cs
- Library.cs
- DBPropSet.cs
- CallContext.cs
- invalidudtexception.cs
- WebPartExportVerb.cs
- CommonDialog.cs
- ZoneIdentityPermission.cs
- TableChangeProcessor.cs
- XsdBuilder.cs
- XmlSchemaType.cs
- WindowsSysHeader.cs
- SimplePropertyEntry.cs
- IgnoreSection.cs
- LicenseProviderAttribute.cs
- TemplateBaseAction.cs
- ParserStreamGeometryContext.cs
- AuthenticationException.cs
- Validator.cs
- SharedStatics.cs
- XPathScanner.cs
- EncodingConverter.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DataGridViewSelectedRowCollection.cs
- GeometryModel3D.cs
- base64Transforms.cs
- ControlPersister.cs
- TrustManagerPromptUI.cs
- ExtensionFile.cs
- DirtyTextRange.cs
- ThrowHelper.cs
- StagingAreaInputItem.cs
- MetadataStore.cs
- MenuBindingsEditor.cs
- AdRotator.cs
- XmlNamespaceMapping.cs
- TextMarkerSource.cs
- ContextProperty.cs
- StickyNoteContentControl.cs
- TemplateBuilder.cs
- DirectoryGroupQuery.cs
- TransactionsSectionGroup.cs
- ProfileSettings.cs
- EventLevel.cs
- _ContextAwareResult.cs
- InternalConfigHost.cs
- _ListenerRequestStream.cs
- PolyQuadraticBezierSegment.cs
- ListViewItem.cs
- SystemGatewayIPAddressInformation.cs
- SmiRequestExecutor.cs
- GridViewRowPresenterBase.cs
- DocumentReferenceCollection.cs
- SettingsBindableAttribute.cs
- HyperlinkAutomationPeer.cs
- ToolStripSettings.cs
- RegexRunner.cs
- ResourceProviderFactory.cs