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
- FileAuthorizationModule.cs
- StructuredCompositeActivityDesigner.cs
- OutputCacheSection.cs
- SignatureDescription.cs
- SourceItem.cs
- PersistChildrenAttribute.cs
- ResourceProperty.cs
- XMLUtil.cs
- ParameterToken.cs
- DesignerLinkAdapter.cs
- NavigationProperty.cs
- DesignSurface.cs
- CodeMethodReturnStatement.cs
- MultiTrigger.cs
- CatalogPartCollection.cs
- ServiceNameElement.cs
- PresentationAppDomainManager.cs
- TextTreeText.cs
- TransformCollection.cs
- LogConverter.cs
- ProtectedConfigurationSection.cs
- StyleSelector.cs
- MissingMemberException.cs
- FactoryMaker.cs
- XslAst.cs
- TrackingCondition.cs
- GenericXmlSecurityToken.cs
- DataGridViewButtonCell.cs
- GeneratedCodeAttribute.cs
- Geometry.cs
- CorrelationRequestContext.cs
- PropertyChangingEventArgs.cs
- Span.cs
- SQLBytes.cs
- DBBindings.cs
- DbConnectionStringCommon.cs
- FileSystemWatcher.cs
- DesignTimeSiteMapProvider.cs
- WeakReference.cs
- TableStyle.cs
- LicenseManager.cs
- OpenTypeMethods.cs
- Number.cs
- Parser.cs
- OrderingExpression.cs
- RotateTransform3D.cs
- AppSettingsExpressionBuilder.cs
- ValueUnavailableException.cs
- DataGridCellClipboardEventArgs.cs
- PopOutPanel.cs
- Control.cs
- StoreContentChangedEventArgs.cs
- KnownBoxes.cs
- InstanceData.cs
- ParagraphVisual.cs
- TreeIterator.cs
- FindSimilarActivitiesVerb.cs
- RotateTransform3D.cs
- RadioButton.cs
- ProvidersHelper.cs
- CompilationLock.cs
- AnnotationDocumentPaginator.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- FormatterServices.cs
- CompilationUnit.cs
- SequentialOutput.cs
- MenuItem.cs
- UIElementParaClient.cs
- SqlCommand.cs
- StickyNote.cs
- SimpleRecyclingCache.cs
- Blend.cs
- SqlBuilder.cs
- WindowsImpersonationContext.cs
- ParserHooks.cs
- XmlSchemaAll.cs
- SystemWebCachingSectionGroup.cs
- EntityTypeBase.cs
- TableCellCollection.cs
- DesignSurfaceCollection.cs
- TheQuery.cs
- printdlgexmarshaler.cs
- InternalException.cs
- ConfigurationSectionCollection.cs
- FrameworkElementFactoryMarkupObject.cs
- MsmqBindingBase.cs
- UInt64Storage.cs
- messageonlyhwndwrapper.cs
- PtsPage.cs
- SessionStateUtil.cs
- CellTreeNodeVisitors.cs
- DesignerLoader.cs
- _ScatterGatherBuffers.cs
- LoginViewDesigner.cs
- NavigationPropertyEmitter.cs
- BaseTemplateBuildProvider.cs
- FtpRequestCacheValidator.cs
- TableHeaderCell.cs
- DragDeltaEventArgs.cs
- PopupRoot.cs