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
- DefaultMemberAttribute.cs
- SoapInteropTypes.cs
- ServerIdentity.cs
- Int64Storage.cs
- DispatcherExceptionEventArgs.cs
- ScaleTransform3D.cs
- IDReferencePropertyAttribute.cs
- MethodSet.cs
- TypeUtil.cs
- ScriptingJsonSerializationSection.cs
- DataReaderContainer.cs
- SwitchLevelAttribute.cs
- ExpressionHelper.cs
- Aggregates.cs
- CacheVirtualItemsEvent.cs
- ComplusTypeValidator.cs
- SpeechAudioFormatInfo.cs
- SelectionWordBreaker.cs
- WindowProviderWrapper.cs
- Pens.cs
- BamlResourceSerializer.cs
- DataViewListener.cs
- ProxyAttribute.cs
- LateBoundBitmapDecoder.cs
- ListMarkerSourceInfo.cs
- FormView.cs
- WhitespaceRule.cs
- DesignerCapabilities.cs
- CodeGotoStatement.cs
- ConfigXmlText.cs
- DrawingContextDrawingContextWalker.cs
- PreviewPageInfo.cs
- Margins.cs
- HttpCachePolicyElement.cs
- HtmlControlPersistable.cs
- ObjectList.cs
- RangeValuePatternIdentifiers.cs
- ExecutionEngineException.cs
- FontFamily.cs
- OptimalTextSource.cs
- Clause.cs
- SafeFileMappingHandle.cs
- SchemaImporter.cs
- TextCompositionEventArgs.cs
- VectorAnimation.cs
- SrgsItemList.cs
- DoWorkEventArgs.cs
- NavigationHelper.cs
- NameNode.cs
- ZipIOLocalFileDataDescriptor.cs
- DefaultBinder.cs
- XmlAttributeOverrides.cs
- ProgressBarHighlightConverter.cs
- AndAlso.cs
- ClockController.cs
- MaskInputRejectedEventArgs.cs
- CfgSemanticTag.cs
- ListMarkerLine.cs
- RadioButton.cs
- NativeRightsManagementAPIsStructures.cs
- ValueHandle.cs
- PropertyChangeTracker.cs
- TokenizerHelper.cs
- WebPartManagerInternals.cs
- TraceHandlerErrorFormatter.cs
- ServiceDurableInstance.cs
- NativeDirectoryServicesQueryAPIs.cs
- ScopeCompiler.cs
- ProviderBase.cs
- DataGridTablesFactory.cs
- LineUtil.cs
- SortQueryOperator.cs
- IPHostEntry.cs
- Bold.cs
- GZipStream.cs
- HandlerBase.cs
- BitmapSource.cs
- FilterableData.cs
- BamlCollectionHolder.cs
- ValidationEventArgs.cs
- StyleCollection.cs
- XmlIlVisitor.cs
- BufferedGraphics.cs
- SystemIPv4InterfaceProperties.cs
- SkinBuilder.cs
- GenerateHelper.cs
- documentsequencetextview.cs
- SubpageParagraph.cs
- __TransparentProxy.cs
- LinqDataSourceHelper.cs
- TextParagraphProperties.cs
- ItemMap.cs
- EntityDesignerUtils.cs
- MaskedTextBox.cs
- SharedPersonalizationStateInfo.cs
- SafeProcessHandle.cs
- CorrelationQuery.cs
- XmlCustomFormatter.cs
- SrgsGrammar.cs
- MembershipSection.cs