Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / BitmapScalingModeValidation.cs / 1 / BitmapScalingModeValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see [....]/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Runtime.InteropServices; using MS.Internal.PresentationCore; #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 { 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 IsBitmapScalingModeValid(object valueObject) { BitmapScalingMode value = (BitmapScalingMode) valueObject; return (value == BitmapScalingMode.Unspecified) || (value == BitmapScalingMode.LowQuality) || (value == BitmapScalingMode.HighQuality); } } } // 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
- OledbConnectionStringbuilder.cs
- CodeStatement.cs
- DataGridView.cs
- ServerIdentity.cs
- ExternalException.cs
- FlagsAttribute.cs
- UpDownBase.cs
- DataErrorValidationRule.cs
- RadioButtonAutomationPeer.cs
- XmlSecureResolver.cs
- RegexCapture.cs
- VisualBasicImportReference.cs
- DbConnectionPoolGroup.cs
- XAMLParseException.cs
- CursorConverter.cs
- ThrowHelper.cs
- FixedTextBuilder.cs
- ExecutedRoutedEventArgs.cs
- ArglessEventHandlerProxy.cs
- EnglishPluralizationService.cs
- DataExchangeServiceBinder.cs
- UpdateManifestForBrowserApplication.cs
- TypeCodeDomSerializer.cs
- ColorConverter.cs
- TdsParserStateObject.cs
- Panel.cs
- ContextProperty.cs
- SqlConnectionString.cs
- OutputCacheSettings.cs
- SetStoryboardSpeedRatio.cs
- FieldDescriptor.cs
- WindowInteractionStateTracker.cs
- BrushValueSerializer.cs
- indexingfiltermarshaler.cs
- QuaternionAnimation.cs
- KeyManager.cs
- WebPartConnectionsCloseVerb.cs
- MeasureItemEvent.cs
- VersionPair.cs
- RegisteredExpandoAttribute.cs
- AttributeConverter.cs
- XsltQilFactory.cs
- HGlobalSafeHandle.cs
- WebPartEditorCancelVerb.cs
- ExpanderAutomationPeer.cs
- dataobject.cs
- AxHost.cs
- DBConnection.cs
- GridViewColumnCollection.cs
- URLAttribute.cs
- XmlSiteMapProvider.cs
- Accessors.cs
- Psha1DerivedKeyGenerator.cs
- AttachedPropertyMethodSelector.cs
- AlphaSortedEnumConverter.cs
- ThrowHelper.cs
- TabControl.cs
- ContextStack.cs
- ConfigurationSection.cs
- XmlMembersMapping.cs
- AssemblyResourceLoader.cs
- QualifiedCellIdBoolean.cs
- XmlRawWriter.cs
- COM2PictureConverter.cs
- ProtocolsConfiguration.cs
- OutputCacheProfileCollection.cs
- FileDialogPermission.cs
- ArrayExtension.cs
- UnaryExpressionHelper.cs
- DataGridViewButtonColumn.cs
- CachedFontFamily.cs
- WebServiceTypeData.cs
- LabelLiteral.cs
- RowToParametersTransformer.cs
- DSASignatureDeformatter.cs
- FrameworkContextData.cs
- UriScheme.cs
- SchemaImporterExtensionElement.cs
- TextElementEnumerator.cs
- CookielessHelper.cs
- LabelAutomationPeer.cs
- WindowsFont.cs
- SerializationSectionGroup.cs
- _emptywebproxy.cs
- AutoScrollHelper.cs
- TableDetailsRow.cs
- JavaScriptSerializer.cs
- ZipPackage.cs
- Canvas.cs
- InputElement.cs
- RecordsAffectedEventArgs.cs
- Speller.cs
- SByte.cs
- LogLogRecordEnumerator.cs
- BinaryMethodMessage.cs
- Pkcs7Recipient.cs
- ObjectStateEntry.cs
- TdsParserStateObject.cs
- CloseSequence.cs
- WebPartDescriptionCollection.cs