Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / BrushMappingModeValidation.cs / 1305600 / BrushMappingModeValidation.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 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
- WebServiceData.cs
- UIElementCollection.cs
- FileUtil.cs
- ThousandthOfEmRealDoubles.cs
- BitmapImage.cs
- _AutoWebProxyScriptEngine.cs
- TextStore.cs
- BitmapEffectRenderDataResource.cs
- NumberEdit.cs
- DecimalAnimationUsingKeyFrames.cs
- JoinElimination.cs
- SpeechRecognitionEngine.cs
- SiteMapDesignerDataSourceView.cs
- ProjectionPlan.cs
- CombinedGeometry.cs
- SqlReferenceCollection.cs
- AttributeCollection.cs
- MessageQueuePermissionEntry.cs
- XsltArgumentList.cs
- GeometryValueSerializer.cs
- PageContent.cs
- HtmlInputReset.cs
- VisualTarget.cs
- CollectionCodeDomSerializer.cs
- HtmlInputReset.cs
- SchemaCollectionCompiler.cs
- EventHandlersStore.cs
- Matrix3DConverter.cs
- BuildResultCache.cs
- XslException.cs
- CodeSnippetStatement.cs
- FusionWrap.cs
- CfgParser.cs
- DecoderReplacementFallback.cs
- GridView.cs
- GatewayIPAddressInformationCollection.cs
- HttpContext.cs
- SpeechDetectedEventArgs.cs
- WebPartManagerInternals.cs
- MsmqOutputChannel.cs
- SafeRightsManagementPubHandle.cs
- HeaderedContentControl.cs
- WindowProviderWrapper.cs
- ValueHandle.cs
- ArcSegment.cs
- regiisutil.cs
- TraceSection.cs
- GregorianCalendar.cs
- InputProcessorProfiles.cs
- Number.cs
- CaseExpr.cs
- HtmlGenericControl.cs
- input.cs
- QuaternionValueSerializer.cs
- IssuedSecurityTokenParameters.cs
- Icon.cs
- XmlSchemaAny.cs
- IndependentlyAnimatedPropertyMetadata.cs
- XmlSchemaSimpleContentExtension.cs
- safesecurityhelperavalon.cs
- Debug.cs
- ColorPalette.cs
- BlockCollection.cs
- Tracer.cs
- CodeSpit.cs
- FontCacheUtil.cs
- EnvironmentPermission.cs
- AstNode.cs
- SessionStateSection.cs
- PtsCache.cs
- ObsoleteAttribute.cs
- HttpResponse.cs
- OdbcException.cs
- UnmanagedMemoryStreamWrapper.cs
- XmlILIndex.cs
- Calendar.cs
- DropDownList.cs
- DocumentOrderQuery.cs
- WebPartZone.cs
- FontStretches.cs
- ExtractorMetadata.cs
- NavigationProperty.cs
- ConsoleCancelEventArgs.cs
- StateValidator.cs
- Helpers.cs
- AddInContractAttribute.cs
- FamilyMap.cs
- TaskFileService.cs
- DefaultValueConverter.cs
- PrinterSettings.cs
- XmlEnumAttribute.cs
- WebBrowserProgressChangedEventHandler.cs
- ElementUtil.cs
- WebServiceMethodData.cs
- ScopelessEnumAttribute.cs
- ArrayTypeMismatchException.cs
- Part.cs
- ServiceDescriptionReflector.cs
- EnumerableCollectionView.cs
- HttpCacheParams.cs