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
- WebPartsPersonalizationAuthorization.cs
- EdgeModeValidation.cs
- VBCodeProvider.cs
- TraceData.cs
- UpDownEvent.cs
- CornerRadius.cs
- CuspData.cs
- PartialList.cs
- KeyGesture.cs
- MetadataItem_Static.cs
- TreeNodeCollection.cs
- OperationCanceledException.cs
- IdentitySection.cs
- DbConnectionStringCommon.cs
- RecordConverter.cs
- SystemColors.cs
- PropertyEmitter.cs
- InkCanvasSelection.cs
- SettingsPropertyIsReadOnlyException.cs
- RegexMatch.cs
- StandardCommands.cs
- SamlEvidence.cs
- UTF8Encoding.cs
- TextBoxView.cs
- DataConnectionHelper.cs
- ExclusiveHandle.cs
- Screen.cs
- LoginCancelEventArgs.cs
- XmlTextEncoder.cs
- SystemIPGlobalStatistics.cs
- FormsAuthenticationEventArgs.cs
- PropertiesTab.cs
- DrawingGroup.cs
- StructuredTypeEmitter.cs
- ExcCanonicalXml.cs
- UIElementCollection.cs
- XmlToDatasetMap.cs
- HtmlForm.cs
- WindowsSlider.cs
- LoginName.cs
- localization.cs
- ConnectionsZone.cs
- XPathSelectionIterator.cs
- SQLMoney.cs
- LinqDataSourceStatusEventArgs.cs
- InfoCardClaim.cs
- ExtendedProtectionPolicyTypeConverter.cs
- DataGridCommandEventArgs.cs
- RuleSetReference.cs
- HuffModule.cs
- SplineQuaternionKeyFrame.cs
- CompatibleComparer.cs
- AffineTransform3D.cs
- CharacterMetricsDictionary.cs
- TextServicesHost.cs
- MSHTMLHostUtil.cs
- XmlChoiceIdentifierAttribute.cs
- LookupNode.cs
- XmlSchemaSimpleContentRestriction.cs
- TransactionScopeDesigner.cs
- UnionCodeGroup.cs
- StylusPointPropertyInfoDefaults.cs
- MarkupCompilePass2.cs
- AssemblySettingAttributes.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- Knowncolors.cs
- TextAdaptor.cs
- EnumerableRowCollectionExtensions.cs
- unitconverter.cs
- ISAPIApplicationHost.cs
- RemoteWebConfigurationHostStream.cs
- DataBindingHandlerAttribute.cs
- WebPartZoneBase.cs
- WebReferencesBuildProvider.cs
- GridViewUpdateEventArgs.cs
- ConstantExpression.cs
- MessageBox.cs
- SecureStringHasher.cs
- FontFamilyIdentifier.cs
- SoapElementAttribute.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SoapAttributeOverrides.cs
- CodePrimitiveExpression.cs
- PasswordPropertyTextAttribute.cs
- DataGridViewSelectedCellCollection.cs
- ClientRuntimeConfig.cs
- TemplateManager.cs
- Attributes.cs
- MessageDescriptionCollection.cs
- DataSetMappper.cs
- DelegateTypeInfo.cs
- IntSecurity.cs
- PeerContact.cs
- ValidationPropertyAttribute.cs
- Model3D.cs
- PermissionSetTriple.cs
- VisualStyleRenderer.cs
- TableParaClient.cs
- BamlLocalizableResourceKey.cs
- BitmapEffectInput.cs