Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / BrushMappingModeValidation.cs / 1 / BrushMappingModeValidation.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 IsBrushMappingModeValid(object valueObject) { BrushMappingMode value = (BrushMappingMode) valueObject; return (value == BrushMappingMode.Absolute) || (value == BrushMappingMode.RelativeToBoundingBox); } } } // 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
- SiteOfOriginContainer.cs
- FamilyCollection.cs
- TextWriterTraceListener.cs
- Stack.cs
- TreeIterator.cs
- UnregisterInfo.cs
- Point4D.cs
- SamlAttribute.cs
- RangeValuePattern.cs
- ImportCatalogPart.cs
- WebZone.cs
- XmlSchemaAnnotated.cs
- PropertyChangedEventArgs.cs
- TextEffect.cs
- XPathNodeList.cs
- TypedTableBaseExtensions.cs
- JournalEntry.cs
- ExtendedProperty.cs
- ErrorFormatterPage.cs
- BitSet.cs
- AstNode.cs
- IUnknownConstantAttribute.cs
- Convert.cs
- MonitorWrapper.cs
- RelatedImageListAttribute.cs
- NameValueFileSectionHandler.cs
- WrapPanel.cs
- OverflowException.cs
- followingquery.cs
- WSHttpSecurity.cs
- QuotaThrottle.cs
- TypeSystem.cs
- QueueProcessor.cs
- StartUpEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- CaseStatement.cs
- ProxyHelper.cs
- KeyboardDevice.cs
- ConsumerConnectionPoint.cs
- MethodMessage.cs
- HyperLinkColumn.cs
- OraclePermissionAttribute.cs
- RuntimeConfig.cs
- XamlRtfConverter.cs
- ListItemCollection.cs
- ObjectTag.cs
- NotImplementedException.cs
- SubstitutionList.cs
- Facet.cs
- XamlStream.cs
- XmlMapping.cs
- ValueSerializerAttribute.cs
- GroupedContextMenuStrip.cs
- AuthorizationRule.cs
- LabelTarget.cs
- WindowsImpersonationContext.cs
- ScriptHandlerFactory.cs
- CaseStatement.cs
- CodeArrayIndexerExpression.cs
- DomainLiteralReader.cs
- StreamAsIStream.cs
- ComNativeDescriptor.cs
- ViewSimplifier.cs
- PackageStore.cs
- OutputCacheModule.cs
- Rect3DConverter.cs
- XmlSchemaDatatype.cs
- SpecialNameAttribute.cs
- SchemaImporterExtensionsSection.cs
- CopyOnWriteList.cs
- CorrelationKey.cs
- AsymmetricSignatureDeformatter.cs
- TextRenderer.cs
- HashAlgorithm.cs
- WindowsTokenRoleProvider.cs
- lengthconverter.cs
- AutomationProperty.cs
- SerializableReadOnlyDictionary.cs
- AttachmentCollection.cs
- Root.cs
- DesignerTextBoxAdapter.cs
- BindValidator.cs
- log.cs
- DrawingContextWalker.cs
- CompilerLocalReference.cs
- TextEffectResolver.cs
- RNGCryptoServiceProvider.cs
- ZipIOExtraFieldElement.cs
- CmsInterop.cs
- PropertyChangedEventArgs.cs
- LineBreak.cs
- SettingsPropertyNotFoundException.cs
- SQLBinaryStorage.cs
- Attributes.cs
- WebPartChrome.cs
- HitTestWithGeometryDrawingContextWalker.cs
- BuildResultCache.cs
- PlainXmlWriter.cs
- NamespaceDecl.cs
- IPeerNeighbor.cs