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
- DebugView.cs
- UriTemplateLiteralPathSegment.cs
- FocusTracker.cs
- ToolBarButtonClickEvent.cs
- formatter.cs
- LocalizationParserHooks.cs
- BroadcastEventHelper.cs
- HtmlEmptyTagControlBuilder.cs
- XmlSchemaSimpleTypeList.cs
- TagElement.cs
- ArgumentReference.cs
- BamlReader.cs
- RTLAwareMessageBox.cs
- URLEditor.cs
- XPathNavigator.cs
- ValueTypeFieldReference.cs
- ToolStripDropDownClosedEventArgs.cs
- MulticastOption.cs
- ProxyFragment.cs
- AccessViolationException.cs
- DesignerView.xaml.cs
- UITypeEditor.cs
- SqlDataSourceCommandParser.cs
- CookieProtection.cs
- SmtpNtlmAuthenticationModule.cs
- PeerApplicationLaunchInfo.cs
- MethodBody.cs
- MyContact.cs
- HashAlgorithm.cs
- EventLevel.cs
- SqlFactory.cs
- RoutedEventConverter.cs
- NameValuePermission.cs
- Bidi.cs
- ComponentRenameEvent.cs
- DbDataAdapter.cs
- HMACSHA384.cs
- HideDisabledControlAdapter.cs
- EdmSchemaError.cs
- DrawListViewItemEventArgs.cs
- ItemCollection.cs
- PipeStream.cs
- NonNullItemCollection.cs
- DependencyPropertyKind.cs
- LayoutEngine.cs
- GeometryHitTestParameters.cs
- InkPresenterAutomationPeer.cs
- PeerNameRegistration.cs
- AssemblyBuilderData.cs
- DataSourceHelper.cs
- FrameworkElementFactoryMarkupObject.cs
- XmlArrayItemAttributes.cs
- InstanceHandleConflictException.cs
- RouteItem.cs
- RemotingSurrogateSelector.cs
- PolyBezierSegment.cs
- MiniMapControl.xaml.cs
- RSAOAEPKeyExchangeFormatter.cs
- ObjectHandle.cs
- WindowsGraphics2.cs
- SQLChars.cs
- TextTreeRootNode.cs
- ZipIOCentralDirectoryFileHeader.cs
- PresentationTraceSources.cs
- CacheEntry.cs
- ALinqExpressionVisitor.cs
- Material.cs
- XmlSerializerVersionAttribute.cs
- PrimaryKeyTypeConverter.cs
- ScaleTransform3D.cs
- BuildProvider.cs
- HostProtectionException.cs
- BaseUriHelper.cs
- SessionKeyExpiredException.cs
- DictionaryCustomTypeDescriptor.cs
- HiddenFieldPageStatePersister.cs
- LineProperties.cs
- WebPartDisplayMode.cs
- TabRenderer.cs
- Int32Converter.cs
- MenuRenderer.cs
- DataGridViewSelectedColumnCollection.cs
- ObjectQueryProvider.cs
- SelectionUIHandler.cs
- LockCookie.cs
- FormViewActionList.cs
- RuntimeConfigurationRecord.cs
- ParameterElement.cs
- ColorAnimationBase.cs
- MeshGeometry3D.cs
- UiaCoreApi.cs
- TransactionState.cs
- SolidColorBrush.cs
- Simplifier.cs
- PolicyConversionContext.cs
- FigureHelper.cs
- Subtree.cs
- ImageField.cs
- MachineSettingsSection.cs
- HtmlTable.cs