Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- EmbeddedMailObject.cs
- filewebresponse.cs
- StringUtil.cs
- Metafile.cs
- PenCursorManager.cs
- DataGridGeneralPage.cs
- Point3DAnimationUsingKeyFrames.cs
- TableCellCollection.cs
- EntityViewContainer.cs
- SRDisplayNameAttribute.cs
- DecimalAverageAggregationOperator.cs
- CompilerGlobalScopeAttribute.cs
- externdll.cs
- TypeUsageBuilder.cs
- CompositeDataBoundControl.cs
- _ScatterGatherBuffers.cs
- MatrixTransform3D.cs
- PermissionToken.cs
- ClassHandlersStore.cs
- TcpAppDomainProtocolHandler.cs
- CellCreator.cs
- LightweightCodeGenerator.cs
- Decorator.cs
- ConfigViewGenerator.cs
- SingleAnimationUsingKeyFrames.cs
- DesigntimeLicenseContext.cs
- BinaryNode.cs
- MSAANativeProvider.cs
- Geometry3D.cs
- NativeMethodsCLR.cs
- CustomTrackingQuery.cs
- Line.cs
- WebConfigurationFileMap.cs
- PaperSource.cs
- MasterPageParser.cs
- PopupEventArgs.cs
- GPRECTF.cs
- DbConnectionPoolGroupProviderInfo.cs
- WebMessageEncodingElement.cs
- NamespaceEmitter.cs
- XmlnsCache.cs
- Exceptions.cs
- Int32Rect.cs
- _SslState.cs
- TypeUtil.cs
- GeneralTransform2DTo3DTo2D.cs
- QueueSurrogate.cs
- TextTreePropertyUndoUnit.cs
- DelegatedStream.cs
- SchemaManager.cs
- ColorDialog.cs
- DataMemberFieldEditor.cs
- ImagingCache.cs
- SqlConnectionStringBuilder.cs
- EncodingTable.cs
- MediaElementAutomationPeer.cs
- CheckBoxList.cs
- DependencyProperty.cs
- CryptoApi.cs
- ConfigXmlDocument.cs
- DataTableMappingCollection.cs
- DebugView.cs
- XmlDeclaration.cs
- GuidConverter.cs
- InternalReceiveMessage.cs
- x509store.cs
- _IPv4Address.cs
- CryptoStream.cs
- BitmapEffectCollection.cs
- ScrollBarRenderer.cs
- AttachmentCollection.cs
- SwitchAttribute.cs
- RSAOAEPKeyExchangeFormatter.cs
- ThreadStateException.cs
- CryptoStream.cs
- TraceContext.cs
- HybridWebProxyFinder.cs
- DataSysAttribute.cs
- DataGridSortCommandEventArgs.cs
- FacetDescription.cs
- X509CertificateCollection.cs
- MenuItemCollectionEditorDialog.cs
- PTUtility.cs
- XmlSchemaAppInfo.cs
- XmlNodeChangedEventArgs.cs
- WindowsGraphics2.cs
- X509Utils.cs
- XmlSchemaDatatype.cs
- ThumbButtonInfoCollection.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- XmlElementAttributes.cs
- NetTcpBindingElement.cs
- DateTimeConstantAttribute.cs
- OdbcConnectionHandle.cs
- SystemBrushes.cs
- FileDialog_Vista_Interop.cs
- VisualProxy.cs
- PageSettings.cs
- WebCategoryAttribute.cs
- CodeTypeDelegate.cs