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
- DesignerAdRotatorAdapter.cs
- formatstringdialog.cs
- ColumnWidthChangedEvent.cs
- AsyncResult.cs
- KnowledgeBase.cs
- EventDescriptor.cs
- CollectionBase.cs
- DeviceContexts.cs
- WindowsListViewItemStartMenu.cs
- FunctionUpdateCommand.cs
- Block.cs
- TraceSection.cs
- PathFigureCollectionConverter.cs
- NgenServicingAttributes.cs
- COM2PictureConverter.cs
- XmlSchemaDatatype.cs
- GenericPrincipal.cs
- DoubleUtil.cs
- oledbconnectionstring.cs
- BackgroundFormatInfo.cs
- ContentElementAutomationPeer.cs
- BindableTemplateBuilder.cs
- ActivityExecutionContext.cs
- XmlSchemaInfo.cs
- GeneralTransform3DTo2D.cs
- ReceiveContextCollection.cs
- ShapingWorkspace.cs
- AssemblyAttributesGoHere.cs
- RichTextBox.cs
- Config.cs
- NodeFunctions.cs
- FormatSettings.cs
- SEHException.cs
- XmlJsonReader.cs
- GlyphRun.cs
- MessageQueuePermissionEntryCollection.cs
- DataGridPagingPage.cs
- SafeBitVector32.cs
- PkcsUtils.cs
- AdornerLayer.cs
- FloaterBaseParaClient.cs
- SettingsProviderCollection.cs
- documentsequencetextcontainer.cs
- DataGridViewComboBoxColumnDesigner.cs
- FileUtil.cs
- BitmapEffectInput.cs
- DataGridViewRowConverter.cs
- WebPartDisplayModeCollection.cs
- Color.cs
- safelink.cs
- TrackingLocation.cs
- OleDbParameterCollection.cs
- ModelItemImpl.cs
- QuotedPrintableStream.cs
- MethodBuilderInstantiation.cs
- DbDataRecord.cs
- ProgressBar.cs
- MouseWheelEventArgs.cs
- MSAAEventDispatcher.cs
- WebException.cs
- CustomPopupPlacement.cs
- DynamicHyperLink.cs
- SQLMembershipProvider.cs
- CellTreeNodeVisitors.cs
- OutKeywords.cs
- MailAddressCollection.cs
- TargetControlTypeAttribute.cs
- TypeListConverter.cs
- CachedTypeface.cs
- XmlSchemaAnyAttribute.cs
- XmlSchemaSimpleTypeRestriction.cs
- ControlCollection.cs
- ToggleButton.cs
- CounterSample.cs
- versioninfo.cs
- SymbolEqualComparer.cs
- SQLByte.cs
- NamespaceExpr.cs
- TypeUtils.cs
- CreateUserWizard.cs
- CollectionViewGroupRoot.cs
- DataGridRowAutomationPeer.cs
- BinaryFormatterSinks.cs
- IfJoinedCondition.cs
- DeflateEmulationStream.cs
- _ConnectionGroup.cs
- HttpInputStream.cs
- ObjectContext.cs
- Span.cs
- ConfigDefinitionUpdates.cs
- ReaderContextStackData.cs
- ChangeTracker.cs
- AttachmentCollection.cs
- ContactManager.cs
- SendKeys.cs
- DataObjectPastingEventArgs.cs
- sqlser.cs
- CalendarAutoFormat.cs
- ExpressionNormalizer.cs
- ActivityExecutorDelegateInfo.cs