Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TextRenderingModeValidation.cs / 1305600 / TextRenderingModeValidation.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 IsTextRenderingModeValid(object valueObject) { TextRenderingMode value = (TextRenderingMode) valueObject; return (value == TextRenderingMode.Auto) || (value == TextRenderingMode.Aliased) || (value == TextRenderingMode.Grayscale) || (value == TextRenderingMode.ClearType); } } } // 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
- Pipe.cs
- ObjectParameterCollection.cs
- OdbcUtils.cs
- TextEditorMouse.cs
- CodeTypeMember.cs
- Base64Stream.cs
- ColumnPropertiesGroup.cs
- SqlDataSourceStatusEventArgs.cs
- ConfigurationException.cs
- LinkConverter.cs
- TextTreeInsertUndoUnit.cs
- VisualBrush.cs
- QueryableDataSourceView.cs
- SqlFunctionAttribute.cs
- TextAction.cs
- FontDialog.cs
- ParallelTimeline.cs
- DataGridViewCellLinkedList.cs
- ValidatorCompatibilityHelper.cs
- nulltextcontainer.cs
- OracleString.cs
- SafeBitVector32.cs
- DataRelationCollection.cs
- ExpressionBuilderContext.cs
- KeyValueInternalCollection.cs
- Rijndael.cs
- CodeStatementCollection.cs
- ValidationHelper.cs
- Padding.cs
- SmiEventSink_Default.cs
- MetadataPropertyCollection.cs
- ApplicationCommands.cs
- GenericUriParser.cs
- _DigestClient.cs
- TraceFilter.cs
- XmlSchemaSubstitutionGroup.cs
- WebSysDefaultValueAttribute.cs
- BamlBinaryReader.cs
- IndicShape.cs
- SmtpReplyReaderFactory.cs
- TemplateControlParser.cs
- Html32TextWriter.cs
- MethodExpr.cs
- MethodBuilderInstantiation.cs
- XsdBuildProvider.cs
- XmlSchemaCollection.cs
- CustomPopupPlacement.cs
- RegexCompilationInfo.cs
- Int32Rect.cs
- TickBar.cs
- SqlGenerator.cs
- ServiceEndpointAssociationProvider.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- Cloud.cs
- AppDomainUnloadedException.cs
- X509CertificateValidator.cs
- _CommandStream.cs
- DataAdapter.cs
- TableLayoutCellPaintEventArgs.cs
- XamlPointCollectionSerializer.cs
- Matrix3D.cs
- ObjectPersistData.cs
- FontCacheUtil.cs
- MarkupCompiler.cs
- SqlDataSourceFilteringEventArgs.cs
- LinqDataSourceContextEventArgs.cs
- PersonalizableTypeEntry.cs
- ExecutedRoutedEventArgs.cs
- VirtualPathUtility.cs
- MultiPropertyDescriptorGridEntry.cs
- GiveFeedbackEvent.cs
- safelink.cs
- SQLDecimal.cs
- Vertex.cs
- UserNameSecurityTokenProvider.cs
- MappingModelBuildProvider.cs
- WindowsListViewScroll.cs
- StrongNameIdentityPermission.cs
- XmlParser.cs
- EnumerableRowCollection.cs
- Drawing.cs
- FocusTracker.cs
- Enum.cs
- SharedConnectionInfo.cs
- LongCountAggregationOperator.cs
- TreeNodeStyle.cs
- EntityDescriptor.cs
- ThumbButtonInfo.cs
- VirtualDirectoryMapping.cs
- BitVector32.cs
- ProxyHwnd.cs
- CollectionEditVerbManager.cs
- OleDbReferenceCollection.cs
- EntityModelBuildProvider.cs
- GatewayIPAddressInformationCollection.cs
- BaseValidator.cs
- InheritablePropertyChangeInfo.cs
- StylusButton.cs
- StylusPlugin.cs
- DigestTraceRecordHelper.cs