Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- Tablet.cs
- SapiRecoInterop.cs
- ChooseAction.cs
- ImageAttributes.cs
- HwndAppCommandInputProvider.cs
- MachineKeyConverter.cs
- SupportingTokenAuthenticatorSpecification.cs
- ObjectPersistData.cs
- PartialArray.cs
- RightsManagementEncryptedStream.cs
- ErrorRuntimeConfig.cs
- TreeNodeCollectionEditor.cs
- FixedSOMPage.cs
- PointHitTestParameters.cs
- XmlElementCollection.cs
- CharacterShapingProperties.cs
- SoapIgnoreAttribute.cs
- PerformanceCounterCategory.cs
- StandardCommands.cs
- SurrogateSelector.cs
- NativeWindow.cs
- DrawingCollection.cs
- designeractionlistschangedeventargs.cs
- ObjectMemberMapping.cs
- SystemSounds.cs
- TaiwanLunisolarCalendar.cs
- TreeNodeSelectionProcessor.cs
- GetPageNumberCompletedEventArgs.cs
- GeometryHitTestParameters.cs
- TemplateControlCodeDomTreeGenerator.cs
- DataControlHelper.cs
- OperationValidationEventArgs.cs
- HtmlInputPassword.cs
- DateTimeValueSerializerContext.cs
- ScriptResourceDefinition.cs
- AttributeData.cs
- EmissiveMaterial.cs
- QilXmlReader.cs
- WindowsAuthenticationEventArgs.cs
- ButtonStandardAdapter.cs
- RegistrationServices.cs
- DocumentGridPage.cs
- ClientSponsor.cs
- CatalogPart.cs
- ValuePatternIdentifiers.cs
- RtType.cs
- CheckBox.cs
- XamlFigureLengthSerializer.cs
- ToolBarButton.cs
- EmptyTextWriter.cs
- FunctionNode.cs
- SettingsPropertyCollection.cs
- MobileUserControl.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TextTreeRootTextBlock.cs
- BuildProvidersCompiler.cs
- DbDeleteCommandTree.cs
- BinaryOperationBinder.cs
- ConditionalDesigner.cs
- XPathQilFactory.cs
- GenericEnumerator.cs
- TextPointerBase.cs
- FileAuthorizationModule.cs
- MediaPlayerState.cs
- JsonFaultDetail.cs
- XmlILOptimizerVisitor.cs
- ContentElement.cs
- EventlogProvider.cs
- DataControlButton.cs
- PropertyConverter.cs
- FontSource.cs
- configsystem.cs
- ClassDataContract.cs
- WindowsBrush.cs
- DataGridLinkButton.cs
- WebPartUtil.cs
- SelectionBorderGlyph.cs
- ControlParser.cs
- ResourceDescriptionAttribute.cs
- OletxTransactionHeader.cs
- cookie.cs
- ProfilePropertyNameValidator.cs
- XamlTreeBuilder.cs
- SessionSwitchEventArgs.cs
- SendKeys.cs
- WSFederationHttpBindingCollectionElement.cs
- XmlDataCollection.cs
- SecureEnvironment.cs
- BindableTemplateBuilder.cs
- VirtualPathData.cs
- PropertiesTab.cs
- ExpandSegment.cs
- EndOfStreamException.cs
- SoapSchemaImporter.cs
- CodeParameterDeclarationExpressionCollection.cs
- FileLevelControlBuilderAttribute.cs
- EmptyEnumerator.cs
- ConfigurationPropertyAttribute.cs
- CryptoApi.cs
- ReflectPropertyDescriptor.cs