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
- Bezier.cs
- RowType.cs
- EntityDataSourceStatementEditor.cs
- HitTestParameters3D.cs
- UInt32Converter.cs
- BrowsableAttribute.cs
- InheritanceRules.cs
- SimpleApplicationHost.cs
- XsltLoader.cs
- ItemsPresenter.cs
- Exception.cs
- ReferenceEqualityComparer.cs
- JsonGlobals.cs
- MeasureItemEvent.cs
- InternalCompensate.cs
- Renderer.cs
- ToolStripDropDownButton.cs
- Timer.cs
- SizeChangedInfo.cs
- ComPlusSynchronizationContext.cs
- AutoFocusStyle.xaml.cs
- SecurityResources.cs
- IndexedSelectQueryOperator.cs
- RuntimeConfigurationRecord.cs
- DefaultObjectMappingItemCollection.cs
- wgx_sdk_version.cs
- SystemDiagnosticsSection.cs
- LinkedResourceCollection.cs
- EncodingInfo.cs
- DatagridviewDisplayedBandsData.cs
- EncodedStreamFactory.cs
- SafeNativeMethods.cs
- EntityCommandExecutionException.cs
- formatter.cs
- XmlSchemaAttribute.cs
- XmlSchemaAttributeGroupRef.cs
- HandlerBase.cs
- DecodeHelper.cs
- ValueUnavailableException.cs
- OdbcError.cs
- SystemDiagnosticsSection.cs
- MsmqReceiveHelper.cs
- glyphs.cs
- ProfileSettingsCollection.cs
- MouseDevice.cs
- TemporaryBitmapFile.cs
- PreviewPrintController.cs
- linebase.cs
- ConfigurationStrings.cs
- DesignSurfaceManager.cs
- DataGridViewImageColumn.cs
- CollectionBase.cs
- TableHeaderCell.cs
- RangeValidator.cs
- ThicknessKeyFrameCollection.cs
- CoTaskMemUnicodeSafeHandle.cs
- DocobjHost.cs
- RoleManagerEventArgs.cs
- HtmlEncodedRawTextWriter.cs
- ThreadSafeList.cs
- PolicyException.cs
- QuaternionAnimation.cs
- ReservationNotFoundException.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- RotationValidation.cs
- AdRotator.cs
- DbConnectionStringCommon.cs
- TypedTableBaseExtensions.cs
- FamilyCollection.cs
- TextSimpleMarkerProperties.cs
- PassportAuthenticationModule.cs
- CodeNamespaceImport.cs
- TypeSemantics.cs
- JsonEncodingStreamWrapper.cs
- TaskScheduler.cs
- ServiceOperationHelpers.cs
- TaskbarItemInfo.cs
- PropertyChangeTracker.cs
- ByteStream.cs
- ZipIOExtraFieldPaddingElement.cs
- ClonableStack.cs
- FlowPanelDesigner.cs
- SequentialOutput.cs
- CodeDOMUtility.cs
- ChildTable.cs
- EnumBuilder.cs
- RenderData.cs
- TimeoutValidationAttribute.cs
- SystemWebCachingSectionGroup.cs
- TreeViewHitTestInfo.cs
- BitmapPalettes.cs
- IISUnsafeMethods.cs
- SessionEndingEventArgs.cs
- HeaderedItemsControl.cs
- SqlFileStream.cs
- CollectionEditor.cs
- RequestCache.cs
- Rules.cs
- NumberSubstitution.cs
- IteratorFilter.cs