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
- TemplateControlParser.cs
- XPathNodeInfoAtom.cs
- TabPage.cs
- InvalidateEvent.cs
- Socket.cs
- Serializer.cs
- ProcessModelInfo.cs
- NoClickablePointException.cs
- ParsedAttributeCollection.cs
- IntSecurity.cs
- ApplicationProxyInternal.cs
- ScriptComponentDescriptor.cs
- ImageClickEventArgs.cs
- ApplyTemplatesAction.cs
- Region.cs
- Console.cs
- TimeSpanSecondsConverter.cs
- SqlDependency.cs
- VersionedStream.cs
- GenericEnumerator.cs
- DbConnectionOptions.cs
- DataGridViewTopLeftHeaderCell.cs
- InputBinding.cs
- TableDetailsCollection.cs
- TablePattern.cs
- OdbcStatementHandle.cs
- MexBindingElement.cs
- VersionedStreamOwner.cs
- UIElementPropertyUndoUnit.cs
- DbDataSourceEnumerator.cs
- XmlDataLoader.cs
- CodeEntryPointMethod.cs
- NativeCompoundFileAPIs.cs
- Table.cs
- ProxyGenerator.cs
- TargetFrameworkUtil.cs
- JsonGlobals.cs
- FramingChannels.cs
- TypeBuilder.cs
- SecurityPolicySection.cs
- Flowchart.cs
- isolationinterop.cs
- ColorAnimation.cs
- CodeDefaultValueExpression.cs
- LexicalChunk.cs
- DropDownButton.cs
- ResourcesGenerator.cs
- Storyboard.cs
- XPathNode.cs
- ReceiveSecurityHeaderEntry.cs
- RelationHandler.cs
- ProfileSettings.cs
- UIElementPropertyUndoUnit.cs
- NotificationContext.cs
- TypeDependencyAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- SemanticAnalyzer.cs
- SrgsOneOf.cs
- XsltSettings.cs
- DetailsViewInsertedEventArgs.cs
- LocalizedNameDescriptionPair.cs
- TreeView.cs
- MultiBinding.cs
- BufferedGraphicsContext.cs
- InitializingNewItemEventArgs.cs
- Application.cs
- PriorityBindingExpression.cs
- ImageField.cs
- XamlStyleSerializer.cs
- TypeInfo.cs
- AuditLogLocation.cs
- IsolatedStorageFilePermission.cs
- ServiceHostingEnvironment.cs
- XmlWriter.cs
- SettingsPropertyCollection.cs
- DecoderFallbackWithFailureFlag.cs
- KeyValueInternalCollection.cs
- PlanCompilerUtil.cs
- HttpDebugHandler.cs
- CustomLineCap.cs
- PreservationFileWriter.cs
- SchemaComplexType.cs
- SendMessageRecord.cs
- UnsafeNativeMethodsPenimc.cs
- SerializableAttribute.cs
- FragmentQueryProcessor.cs
- ModelItemDictionaryImpl.cs
- ToolStripControlHost.cs
- Attributes.cs
- BitStream.cs
- Size.cs
- DataObject.cs
- ThreadStartException.cs
- EditorBrowsableAttribute.cs
- TypeRefElement.cs
- NameValueSectionHandler.cs
- OdbcCommandBuilder.cs
- QueryInterceptorAttribute.cs
- EntitySqlQueryBuilder.cs
- MethodBody.cs