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
- HashMembershipCondition.cs
- ClaimTypeRequirement.cs
- EdmScalarPropertyAttribute.cs
- DoubleStorage.cs
- Control.cs
- ToolstripProfessionalRenderer.cs
- DataGridHeaderBorder.cs
- ChannelParameterCollection.cs
- ActivationServices.cs
- XmlSchemaComplexContentRestriction.cs
- CodeRemoveEventStatement.cs
- DataViewSetting.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- AdornedElementPlaceholder.cs
- PenThreadWorker.cs
- WindowsListView.cs
- Menu.cs
- MediaCommands.cs
- Run.cs
- ElementProxy.cs
- AssemblyHelper.cs
- OdbcRowUpdatingEvent.cs
- UserPersonalizationStateInfo.cs
- DriveInfo.cs
- StatusBarAutomationPeer.cs
- RegisteredScript.cs
- SelectedCellsCollection.cs
- ExpressionBindingCollection.cs
- TextEffect.cs
- RegisteredArrayDeclaration.cs
- SQLInt64.cs
- SymmetricAlgorithm.cs
- CodeStatementCollection.cs
- QilSortKey.cs
- ValueProviderWrapper.cs
- ValueQuery.cs
- PointAnimationUsingPath.cs
- IssuedTokensHeader.cs
- BaseParser.cs
- TypeUsage.cs
- BaseDataListDesigner.cs
- PropertyValidationContext.cs
- BaseWebProxyFinder.cs
- ValidationHelpers.cs
- DocumentPaginator.cs
- WaitHandle.cs
- NetworkInformationException.cs
- EdmType.cs
- XamlSerializerUtil.cs
- HtmlDocument.cs
- HtmlTitle.cs
- TripleDESCryptoServiceProvider.cs
- PageAsyncTaskManager.cs
- VisualTreeUtils.cs
- VBCodeProvider.cs
- CompleteWizardStep.cs
- WorkflowOperationErrorHandler.cs
- LayoutEngine.cs
- ToolStripEditorManager.cs
- Type.cs
- ObjectDataSourceChooseMethodsPanel.cs
- SymbolMethod.cs
- SqlColumnizer.cs
- CacheMemory.cs
- NetTcpBindingCollectionElement.cs
- DelimitedListTraceListener.cs
- DirectoryObjectSecurity.cs
- HttpClientProtocol.cs
- PerformanceCounterTraceRecord.cs
- TableCellCollection.cs
- AnnotationElement.cs
- ImageInfo.cs
- LineServicesCallbacks.cs
- NominalTypeEliminator.cs
- AppDomainUnloadedException.cs
- LinkedResource.cs
- TextDpi.cs
- DockingAttribute.cs
- Block.cs
- TimeZoneNotFoundException.cs
- InstanceData.cs
- Accessible.cs
- TextDocumentView.cs
- XhtmlBasicPanelAdapter.cs
- WebPartUserCapability.cs
- MexHttpBindingElement.cs
- TextLine.cs
- RSAPKCS1KeyExchangeFormatter.cs
- SdlChannelSink.cs
- ToolStripDropDownButton.cs
- NegotiateStream.cs
- GenericXmlSecurityToken.cs
- InvalidOperationException.cs
- DependencyStoreSurrogate.cs
- TreeView.cs
- SecurityElement.cs
- ColorMap.cs
- ResourceReferenceKeyNotFoundException.cs
- DeleteBookmarkScope.cs
- DefaultValueAttribute.cs