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
- SafeReversePInvokeHandle.cs
- Group.cs
- DockingAttribute.cs
- MetadataResolver.cs
- BitVector32.cs
- PageContent.cs
- Logging.cs
- SID.cs
- CrossAppDomainChannel.cs
- InheritanceContextHelper.cs
- KeyToListMap.cs
- InputGestureCollection.cs
- UserPersonalizationStateInfo.cs
- ConfigXmlWhitespace.cs
- PixelFormat.cs
- QuaternionValueSerializer.cs
- XhtmlConformanceSection.cs
- KnownBoxes.cs
- FormatStringEditor.cs
- MenuItemStyleCollection.cs
- XmlWrappingWriter.cs
- FigureParaClient.cs
- TextHidden.cs
- WindowsPen.cs
- ComboBox.cs
- EventLogEntryCollection.cs
- ReceiveSecurityHeaderElementManager.cs
- ArgumentNullException.cs
- HwndAppCommandInputProvider.cs
- TimeoutHelper.cs
- TraceHelpers.cs
- AtomParser.cs
- Timer.cs
- FunctionDescription.cs
- RoleManagerEventArgs.cs
- DbConvert.cs
- DesignerCommandSet.cs
- SystemIPv6InterfaceProperties.cs
- TransformationRules.cs
- PhysicalAddress.cs
- ControlPropertyNameConverter.cs
- SocketPermission.cs
- DCSafeHandle.cs
- UrlMappingsSection.cs
- MobileRedirect.cs
- PointLight.cs
- DispatcherExceptionFilterEventArgs.cs
- SiteMapNodeItemEventArgs.cs
- DEREncoding.cs
- ScrollViewerAutomationPeer.cs
- XmlSchemaDatatype.cs
- ArrayHelper.cs
- MissingFieldException.cs
- WebPartTracker.cs
- MetadataArtifactLoaderResource.cs
- ParagraphVisual.cs
- StartUpEventArgs.cs
- IDataContractSurrogate.cs
- CryptoApi.cs
- mansign.cs
- ExtendedProperty.cs
- OdbcEnvironment.cs
- XmlBinaryReaderSession.cs
- MessageBodyDescription.cs
- RuntimeVariableList.cs
- Point3DAnimationBase.cs
- FixedSOMTableCell.cs
- DefaultWorkflowLoaderService.cs
- Message.cs
- OlePropertyStructs.cs
- XmlTextReaderImplHelpers.cs
- DbDataReader.cs
- JoinElimination.cs
- DataConnectionHelper.cs
- LabelInfo.cs
- DataGridViewCellStyle.cs
- FacetChecker.cs
- DataFormats.cs
- SettingsAttributeDictionary.cs
- TemplatedEditableDesignerRegion.cs
- SqlConnectionFactory.cs
- ThreadExceptionEvent.cs
- SqlEnums.cs
- SafeCoTaskMem.cs
- DesignRelation.cs
- XmlCustomFormatter.cs
- RuntimeConfigLKG.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BeginCreateSecurityTokenRequest.cs
- SchemaCreator.cs
- XmlSchemaImport.cs
- CategoryAttribute.cs
- PersonalizationStateInfoCollection.cs
- PathTooLongException.cs
- SystemIPGlobalStatistics.cs
- FastPropertyAccessor.cs
- RtfControls.cs
- GeneralTransform3DGroup.cs
- WebPartConnectVerb.cs
- X509ChainPolicy.cs