Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / RenderingBiasValidation.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Region.cs
- UnsafeNativeMethods.cs
- TrustManagerPromptUI.cs
- _NegoState.cs
- LinkClickEvent.cs
- CFStream.cs
- BuildProviderCollection.cs
- XmlSignificantWhitespace.cs
- RSAPKCS1SignatureDeformatter.cs
- Clock.cs
- StylusPlugInCollection.cs
- ProfileServiceManager.cs
- DesignerCategoryAttribute.cs
- RepeaterItemEventArgs.cs
- PrinterUnitConvert.cs
- QualifierSet.cs
- DBConcurrencyException.cs
- XPathNodeInfoAtom.cs
- WebPartZoneDesigner.cs
- DataGridViewRowPostPaintEventArgs.cs
- PersistChildrenAttribute.cs
- StatusBarAutomationPeer.cs
- RootAction.cs
- Constants.cs
- HttpStreamXmlDictionaryReader.cs
- DropTarget.cs
- ListBox.cs
- DynamicAttribute.cs
- DrawingContextWalker.cs
- ObjectDataProvider.cs
- HtmlMobileTextWriter.cs
- DbRetry.cs
- InlineCollection.cs
- TextSearch.cs
- DirtyTextRange.cs
- UnSafeCharBuffer.cs
- ButtonAutomationPeer.cs
- DataListItemCollection.cs
- WebExceptionStatus.cs
- SpecialNameAttribute.cs
- CommandManager.cs
- HtmlControlAdapter.cs
- XamlWriter.cs
- RegionInfo.cs
- PassportAuthentication.cs
- WebPartDisplayModeCancelEventArgs.cs
- ListItemDetailViewAttribute.cs
- HtmlSelect.cs
- RestClientProxyHandler.cs
- ThreadStateException.cs
- XmlIlTypeHelper.cs
- ExpressionHelper.cs
- CodeDirectionExpression.cs
- FolderLevelBuildProviderCollection.cs
- SqlCachedBuffer.cs
- ProjectionPruner.cs
- ObjectReaderCompiler.cs
- SoapElementAttribute.cs
- Stacktrace.cs
- HttpListenerRequestUriBuilder.cs
- HtmlTable.cs
- FullTextBreakpoint.cs
- OutputScopeManager.cs
- DynamicILGenerator.cs
- Highlights.cs
- BypassElement.cs
- ServiceInstanceProvider.cs
- SmiTypedGetterSetter.cs
- RuleInfoComparer.cs
- BorderGapMaskConverter.cs
- SymmetricKeyWrap.cs
- DBAsyncResult.cs
- LabelExpression.cs
- Version.cs
- ColorAnimationUsingKeyFrames.cs
- TreeIterator.cs
- MappingException.cs
- PersistenceProviderElement.cs
- StoryFragments.cs
- SpecularMaterial.cs
- EpmContentDeSerializer.cs
- Calendar.cs
- DataKeyCollection.cs
- IPHostEntry.cs
- ClientApiGenerator.cs
- SocketAddress.cs
- ControlCollection.cs
- EventHandlers.cs
- RegionIterator.cs
- VisualBrush.cs
- CurrentTimeZone.cs
- Shape.cs
- HtmlElementCollection.cs
- MulticastOption.cs
- StateMachineSubscriptionManager.cs
- Vector3DCollectionConverter.cs
- ControlDesigner.cs
- StyleConverter.cs
- EmptyStringExpandableObjectConverter.cs
- validation.cs