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
- ListCollectionView.cs
- NamedPermissionSet.cs
- StyleCollection.cs
- TextBoxBase.cs
- PermissionSetTriple.cs
- StylusCollection.cs
- LinkedResourceCollection.cs
- BinaryObjectReader.cs
- RegistrationServices.cs
- PageRequestManager.cs
- NavigationWindowAutomationPeer.cs
- TableLayoutSettings.cs
- TextParentUndoUnit.cs
- ScriptControlDescriptor.cs
- COM2Enum.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- NavigationService.cs
- TextBlockAutomationPeer.cs
- _UncName.cs
- OdbcException.cs
- ResourceDisplayNameAttribute.cs
- DesignerValidationSummaryAdapter.cs
- RevocationPoint.cs
- MetadataReference.cs
- ListViewUpdateEventArgs.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ListControlConvertEventArgs.cs
- OleDbMetaDataFactory.cs
- SplineQuaternionKeyFrame.cs
- ExceptionHelpers.cs
- QueryStringParameter.cs
- SchemaInfo.cs
- ObjectStorage.cs
- HtmlUtf8RawTextWriter.cs
- PageAsyncTask.cs
- LayoutTableCell.cs
- XmlSchemaExporter.cs
- TableRow.cs
- SessionIDManager.cs
- PolyLineSegmentFigureLogic.cs
- HandlerFactoryCache.cs
- EntityContainerEntitySet.cs
- ActiveDocumentEvent.cs
- IArgumentProvider.cs
- ScriptingRoleServiceSection.cs
- listitem.cs
- TaskFileService.cs
- StateChangeEvent.cs
- GenericTextProperties.cs
- documentsequencetextcontainer.cs
- CodeTypeReference.cs
- PassportAuthentication.cs
- MemberExpression.cs
- HostedBindingBehavior.cs
- COM2PictureConverter.cs
- KeyConstraint.cs
- StylusTip.cs
- ToolStripSplitStackLayout.cs
- InvokeMethodActivity.cs
- AesManaged.cs
- AppDomainCompilerProxy.cs
- StrokeSerializer.cs
- FixedSOMImage.cs
- ResourceManager.cs
- ConfigsHelper.cs
- ApplicationSecurityInfo.cs
- Int16KeyFrameCollection.cs
- CodeTypeReferenceExpression.cs
- StorageEntitySetMapping.cs
- SemanticResultValue.cs
- SessionStateModule.cs
- CodeExporter.cs
- NamespaceList.cs
- ToolboxComponentsCreatingEventArgs.cs
- SchemaTableOptionalColumn.cs
- CertificateManager.cs
- PersonalizationStateQuery.cs
- SByteStorage.cs
- XmlEntityReference.cs
- MethodBody.cs
- ByteAnimationUsingKeyFrames.cs
- objectquery_tresulttype.cs
- ReflectionTypeLoadException.cs
- XsltContext.cs
- ExecutionEngineException.cs
- TextRangeEditTables.cs
- DataGridTableCollection.cs
- MaterialGroup.cs
- XmlSubtreeReader.cs
- TrackingDataItemValue.cs
- CheckBoxFlatAdapter.cs
- DeclarativeCatalogPart.cs
- OdbcInfoMessageEvent.cs
- StyleXamlParser.cs
- connectionpool.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- Main.cs
- RegisteredArrayDeclaration.cs
- PropertyMappingExceptionEventArgs.cs
- IImplicitResourceProvider.cs