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
- Tile.cs
- Events.cs
- ControlBuilderAttribute.cs
- RequiredAttributeAttribute.cs
- Exceptions.cs
- ConditionCollection.cs
- GeometryDrawing.cs
- WorkflowTerminatedException.cs
- ResourceIDHelper.cs
- HttpDebugHandler.cs
- ExpressionEditor.cs
- externdll.cs
- DataGridViewTextBoxEditingControl.cs
- Brushes.cs
- DesignRelation.cs
- ArrayList.cs
- DataException.cs
- ObjectDataSourceFilteringEventArgs.cs
- DockingAttribute.cs
- StaticExtensionConverter.cs
- CheckBoxRenderer.cs
- RealizationDrawingContextWalker.cs
- Funcletizer.cs
- HuffmanTree.cs
- StoragePropertyMapping.cs
- XmlUrlResolver.cs
- PermissionSetEnumerator.cs
- OciHandle.cs
- COMException.cs
- AssemblyFilter.cs
- TdsParserHelperClasses.cs
- TransformedBitmap.cs
- DataMisalignedException.cs
- LinearGradientBrush.cs
- ITreeGenerator.cs
- Point3DCollectionValueSerializer.cs
- CorrelationScope.cs
- StylusEditingBehavior.cs
- ThreadInterruptedException.cs
- FontWeightConverter.cs
- IdentityHolder.cs
- XmlDocumentFragment.cs
- DesignerOptionService.cs
- StatusBarItem.cs
- InternalResources.cs
- LicenseException.cs
- TransformConverter.cs
- MdImport.cs
- GridViewUpdatedEventArgs.cs
- LoginAutoFormat.cs
- UserPreferenceChangingEventArgs.cs
- XmlUTF8TextWriter.cs
- BuildProvider.cs
- XmlLinkedNode.cs
- SwitchAttribute.cs
- DataGridViewCellFormattingEventArgs.cs
- DatatypeImplementation.cs
- QueryException.cs
- AssemblyAttributes.cs
- SessionStateModule.cs
- UIElementIsland.cs
- CodeTypeReference.cs
- SpecularMaterial.cs
- SqlColumnizer.cs
- ByteAnimationBase.cs
- XmlCustomFormatter.cs
- CharKeyFrameCollection.cs
- SiteMapPath.cs
- EventManager.cs
- SelectedDatesCollection.cs
- DesignerProperties.cs
- CustomAttributeSerializer.cs
- PropertyHelper.cs
- QilChoice.cs
- OutputCacheSettingsSection.cs
- HtmlControl.cs
- smtppermission.cs
- ContextMenuStrip.cs
- Vector3DConverter.cs
- SafeFileHandle.cs
- SafeHandles.cs
- SequentialUshortCollection.cs
- ExtentKey.cs
- SiteIdentityPermission.cs
- ScopeCompiler.cs
- ByteConverter.cs
- SafeNativeMethods.cs
- Trace.cs
- ResourceProperty.cs
- TemplatedAdorner.cs
- Attribute.cs
- ColorConvertedBitmapExtension.cs
- AnnotationHelper.cs
- AuthorizationRuleCollection.cs
- Tablet.cs
- ControlPropertyNameConverter.cs
- ContextInformation.cs
- BindingSourceDesigner.cs
- BasicHttpMessageSecurityElement.cs
- TableCellCollection.cs