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
- DataGridViewRowsRemovedEventArgs.cs
- TypePropertyEditor.cs
- HttpHeaderCollection.cs
- JsonWriterDelegator.cs
- XsltInput.cs
- ToolBar.cs
- XPathSelfQuery.cs
- SafeFileMappingHandle.cs
- ChannelManagerService.cs
- ColorTranslator.cs
- UnmanagedMemoryAccessor.cs
- OleDbParameterCollection.cs
- DllNotFoundException.cs
- ProxyManager.cs
- MetaTable.cs
- DropShadowBitmapEffect.cs
- InputReportEventArgs.cs
- HandlerWithFactory.cs
- ConnectionPoint.cs
- MetadataCache.cs
- Selector.cs
- HttpHandlerAction.cs
- SiteMapProvider.cs
- JumpList.cs
- ArraySubsetEnumerator.cs
- AlignmentYValidation.cs
- querybuilder.cs
- XmlSchemaSimpleTypeRestriction.cs
- dsa.cs
- PasswordTextContainer.cs
- FormatConvertedBitmap.cs
- BaseCodeDomTreeGenerator.cs
- ImageCodecInfo.cs
- ReadOnlyDictionary.cs
- Canvas.cs
- IsolationInterop.cs
- Brush.cs
- NullReferenceException.cs
- FrameworkContentElementAutomationPeer.cs
- SelectionChangedEventArgs.cs
- ParentQuery.cs
- DataObjectAttribute.cs
- TableItemProviderWrapper.cs
- SignatureDescription.cs
- BufferAllocator.cs
- TabControlCancelEvent.cs
- TableItemPatternIdentifiers.cs
- ThicknessKeyFrameCollection.cs
- CustomCategoryAttribute.cs
- CodeCastExpression.cs
- ServicePoint.cs
- FunctionImportMapping.cs
- VersionValidator.cs
- ListBindingHelper.cs
- StagingAreaInputItem.cs
- ImpersonateTokenRef.cs
- QuaternionIndependentAnimationStorage.cs
- XmlSchemaAppInfo.cs
- ShaderRenderModeValidation.cs
- DuplicateWaitObjectException.cs
- InstanceDataCollection.cs
- Menu.cs
- HttpStaticObjectsCollectionBase.cs
- TraceContext.cs
- Select.cs
- ProcessModuleCollection.cs
- ConnectionModeReader.cs
- DateTimeConverter2.cs
- PublisherMembershipCondition.cs
- BadImageFormatException.cs
- LocationReference.cs
- UnsafeNativeMethods.cs
- LostFocusEventManager.cs
- PackWebRequest.cs
- PanelContainerDesigner.cs
- FormCollection.cs
- RegexCapture.cs
- AncestorChangedEventArgs.cs
- ToggleButton.cs
- Point3DAnimationUsingKeyFrames.cs
- WizardStepBase.cs
- TextTrailingCharacterEllipsis.cs
- ReadOnlyPermissionSet.cs
- SmtpFailedRecipientsException.cs
- Win32Exception.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- ActiveXHost.cs
- ModuleBuilder.cs
- XmlQueryCardinality.cs
- WinEventTracker.cs
- ToolboxComponentsCreatedEventArgs.cs
- ObjectHandle.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XmlAttributeCollection.cs
- NullableConverter.cs
- Matrix3D.cs
- TransformerTypeCollection.cs
- NativeMethods.cs
- EntityDataSourceDataSelection.cs
- FontConverter.cs