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
- DocumentSchemaValidator.cs
- TextBlock.cs
- ImportCatalogPart.cs
- TypedElement.cs
- TypeToken.cs
- ContentPresenter.cs
- SafeMemoryMappedFileHandle.cs
- GlyphRunDrawing.cs
- FixedPageStructure.cs
- ThemeInfoAttribute.cs
- XNodeNavigator.cs
- LassoHelper.cs
- MouseWheelEventArgs.cs
- TdsParserSessionPool.cs
- TemplatePagerField.cs
- Clock.cs
- UnsafeNativeMethods.cs
- Decoder.cs
- SqlOuterApplyReducer.cs
- OleDbConnectionInternal.cs
- serverconfig.cs
- DbConnectionPoolIdentity.cs
- WorkflowPersistenceService.cs
- MemberRelationshipService.cs
- SettingsPropertyCollection.cs
- CodeMemberEvent.cs
- InputLangChangeRequestEvent.cs
- StickyNoteHelper.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- NativeRecognizer.cs
- SoapExtensionImporter.cs
- IntSecurity.cs
- XhtmlBasicPageAdapter.cs
- LiteralSubsegment.cs
- TextBox.cs
- ThreadStartException.cs
- AnchoredBlock.cs
- QilStrConcat.cs
- EdmPropertyAttribute.cs
- VisemeEventArgs.cs
- PointCollectionConverter.cs
- ImageCodecInfoPrivate.cs
- Positioning.cs
- SecondaryIndexList.cs
- ValidationRuleCollection.cs
- HttpStaticObjectsCollectionWrapper.cs
- NativeCppClassAttribute.cs
- XPathQueryGenerator.cs
- ProjectionPlan.cs
- DependentList.cs
- XmlSchemaComplexContentExtension.cs
- ListViewGroupConverter.cs
- UnsafeMethods.cs
- ContentFileHelper.cs
- NCryptNative.cs
- HttpRequestWrapper.cs
- PropertyDescriptor.cs
- TogglePattern.cs
- WindowsTreeView.cs
- DataControlReference.cs
- CodeIterationStatement.cs
- UndoEngine.cs
- StrokeIntersection.cs
- compensatingcollection.cs
- Trace.cs
- ValueType.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ContextConfiguration.cs
- ScrollItemPatternIdentifiers.cs
- FilteredXmlReader.cs
- WizardStepBase.cs
- FragmentQueryKB.cs
- NameValueFileSectionHandler.cs
- InertiaRotationBehavior.cs
- AxisAngleRotation3D.cs
- InfiniteTimeSpanConverter.cs
- BufferModesCollection.cs
- HttpRequestTraceRecord.cs
- UInt64Converter.cs
- DelegatingTypeDescriptionProvider.cs
- MimeTypeMapper.cs
- DetailsViewCommandEventArgs.cs
- CustomErrorsSectionWrapper.cs
- WebConfigurationHostFileChange.cs
- AuthenticationServiceManager.cs
- SizeAnimationClockResource.cs
- RootBrowserWindowProxy.cs
- StringToken.cs
- SignedXml.cs
- MsmqInputMessagePool.cs
- XmlQualifiedName.cs
- BoundPropertyEntry.cs
- CompositeDataBoundControl.cs
- OdbcEnvironmentHandle.cs
- XmlSchemaImport.cs
- ColorMap.cs
- Win32KeyboardDevice.cs
- WaveHeader.cs
- WebPartExportVerb.cs
- Matrix3DConverter.cs