Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / RenderingBiasValidation.cs / 1 / RenderingBiasValidation.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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsRenderingBiasValid(object valueObject) { RenderingBias value = (RenderingBias) valueObject; return (value == RenderingBias.Performance) || (value == RenderingBias.Quality); } } } // 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. // //--------------------------------------------------------------------------- #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.Effects { 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 IsRenderingBiasValid(object valueObject) { RenderingBias value = (RenderingBias) valueObject; return (value == RenderingBias.Performance) || (value == RenderingBias.Quality); } } } // 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
- PathNode.cs
- AdapterUtil.cs
- ProcessHost.cs
- NumberSubstitution.cs
- PixelFormatConverter.cs
- ObjectCacheSettings.cs
- AmbientValueAttribute.cs
- NotConverter.cs
- ReadOnlyPropertyMetadata.cs
- DataGridViewRowCollection.cs
- XmlElementElement.cs
- JsonUriDataContract.cs
- StringExpressionSet.cs
- baseaxisquery.cs
- InvalidProgramException.cs
- DecoratedNameAttribute.cs
- SqlUDTStorage.cs
- ValidationError.cs
- XpsException.cs
- SqlPersonalizationProvider.cs
- XamlDesignerSerializationManager.cs
- log.cs
- DBAsyncResult.cs
- ProfileSettings.cs
- FontSizeConverter.cs
- EncodingDataItem.cs
- VectorCollectionValueSerializer.cs
- RowUpdatingEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- CodePageEncoding.cs
- SqlNotificationRequest.cs
- DataSourceControl.cs
- StateMachine.cs
- XslException.cs
- TreeBuilderBamlTranslator.cs
- SetIterators.cs
- HtmlImage.cs
- AssemblyAssociatedContentFileAttribute.cs
- ProcessProtocolHandler.cs
- Win32Exception.cs
- MenuBase.cs
- BitmapImage.cs
- ConnectorMovedEventArgs.cs
- ActivityStateQuery.cs
- ListView.cs
- ObservableCollectionDefaultValueFactory.cs
- BitmapEffectDrawingContextState.cs
- CodeActivity.cs
- diagnosticsswitches.cs
- XPathArrayIterator.cs
- RotateTransform3D.cs
- ArgumentsParser.cs
- SplayTreeNode.cs
- OutKeywords.cs
- AnimationClockResource.cs
- ControlBindingsCollection.cs
- Function.cs
- BrowserTree.cs
- XmlSchemaComplexType.cs
- UpdateCommand.cs
- CookielessHelper.cs
- QilScopedVisitor.cs
- streamingZipPartStream.cs
- GeneralTransform3DTo2D.cs
- ResourceDefaultValueAttribute.cs
- ComplexObject.cs
- WeakRefEnumerator.cs
- WebPartsSection.cs
- DataGridViewButtonCell.cs
- Grid.cs
- MsmqInputMessagePool.cs
- TreeBuilder.cs
- CSharpCodeProvider.cs
- SystemTcpStatistics.cs
- TriggerBase.cs
- ClientSection.cs
- MetadataExchangeBindings.cs
- HebrewCalendar.cs
- JapaneseLunisolarCalendar.cs
- ProfileModule.cs
- XmlSchemaObject.cs
- WebEvents.cs
- XmlReflectionImporter.cs
- ListViewSelectEventArgs.cs
- ReflectTypeDescriptionProvider.cs
- Vector3dCollection.cs
- EncryptedReference.cs
- DateTimeConverter.cs
- SolidColorBrush.cs
- DataGridViewCellStateChangedEventArgs.cs
- OutgoingWebRequestContext.cs
- HashFinalRequest.cs
- altserialization.cs
- ExpressionList.cs
- PersonalizationProvider.cs
- AppDomain.cs
- QilGeneratorEnv.cs
- TextSegment.cs
- PersonalizationProvider.cs
- ApplicationServiceHelper.cs