Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / BitmapScalingModeValidation.cs / 1305600 / BitmapScalingModeValidation.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. // //--------------------------------------------------------------------------- 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) || (value == BitmapScalingMode.Linear) || (value == BitmapScalingMode.Fant) || (value == BitmapScalingMode.NearestNeighbor); } } } // 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
- DataGridViewImageCell.cs
- XmlDataSource.cs
- Effect.cs
- TextElementAutomationPeer.cs
- SelectionHighlightInfo.cs
- TextUtf8RawTextWriter.cs
- DocumentViewerAutomationPeer.cs
- ItemList.cs
- XmlBinaryReader.cs
- StylusButtonEventArgs.cs
- AppDomainProtocolHandler.cs
- LazyLoadBehavior.cs
- AuthenticationException.cs
- HandlerBase.cs
- SelectionRangeConverter.cs
- TiffBitmapDecoder.cs
- SchemaSetCompiler.cs
- ResourceDescriptionAttribute.cs
- MouseBinding.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- DataGridViewCheckBoxColumn.cs
- PermissionSetEnumerator.cs
- MarkedHighlightComponent.cs
- DispatcherProcessingDisabled.cs
- SystemBrushes.cs
- SecurityTokenSerializer.cs
- AutoGeneratedField.cs
- ResourceWriter.cs
- WorkflowNamespace.cs
- Point3DValueSerializer.cs
- ImageBrush.cs
- _AutoWebProxyScriptEngine.cs
- RecognizerBase.cs
- ProfileProvider.cs
- EventWaitHandle.cs
- WindowsFormsSynchronizationContext.cs
- LineMetrics.cs
- PasswordTextContainer.cs
- ChannelRequirements.cs
- MetadataArtifactLoader.cs
- CodeDelegateCreateExpression.cs
- InvalidCommandTreeException.cs
- XamlClipboardData.cs
- DocComment.cs
- SoapAttributes.cs
- RSAOAEPKeyExchangeFormatter.cs
- CompiledIdentityConstraint.cs
- SystemIPInterfaceProperties.cs
- DeadCharTextComposition.cs
- MemoryPressure.cs
- NetPipeSection.cs
- EventToken.cs
- ResolvedKeyFrameEntry.cs
- _TimerThread.cs
- QilLiteral.cs
- RadialGradientBrush.cs
- SqlConnectionPoolGroupProviderInfo.cs
- TypefaceCollection.cs
- SqlMethodAttribute.cs
- TypeUtils.cs
- LineInfo.cs
- ScrollBarAutomationPeer.cs
- WebSysDescriptionAttribute.cs
- SourceFileInfo.cs
- EmissiveMaterial.cs
- AssemblyAttributes.cs
- TaskFileService.cs
- XmlSerializationReader.cs
- QueryStringParameter.cs
- StyleSheetComponentEditor.cs
- basecomparevalidator.cs
- CalendarButtonAutomationPeer.cs
- ExpressionDumper.cs
- DesignerSerializationVisibilityAttribute.cs
- TextReader.cs
- ApplicationSettingsBase.cs
- OlePropertyStructs.cs
- XmlSchemaCollection.cs
- SqlIdentifier.cs
- SQLRoleProvider.cs
- TrustManagerMoreInformation.cs
- ScrollChangedEventArgs.cs
- Win32MouseDevice.cs
- KeyValuePairs.cs
- MouseGestureConverter.cs
- DesignerEditorPartChrome.cs
- ConfigurationValidatorAttribute.cs
- ValidationService.cs
- UnlockCardRequest.cs
- XmlHierarchyData.cs
- TextRunCache.cs
- BStrWrapper.cs
- CodeRegionDirective.cs
- TextTreePropertyUndoUnit.cs
- BufferedResponseStream.cs
- ScopeCompiler.cs
- _AutoWebProxyScriptHelper.cs
- ZipArchive.cs
- PeerNameResolver.cs
- ThreadStaticAttribute.cs