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
- securitycriticaldataClass.cs
- ScrollPatternIdentifiers.cs
- SHA1CryptoServiceProvider.cs
- CqlLexerHelpers.cs
- FlowLayout.cs
- CorrelationKeyCalculator.cs
- XsdDuration.cs
- PenContexts.cs
- XmlAnyAttributeAttribute.cs
- _LocalDataStoreMgr.cs
- OracleDataReader.cs
- ProfileSettingsCollection.cs
- SystemInformation.cs
- WebDisplayNameAttribute.cs
- ZipIOExtraField.cs
- TextDecorationCollection.cs
- CodeSubDirectory.cs
- NamespaceCollection.cs
- XmlName.cs
- XPathQueryGenerator.cs
- IQueryable.cs
- BuildProvider.cs
- CryptoApi.cs
- AnonymousIdentificationModule.cs
- ItemCollection.cs
- SplitContainer.cs
- CapabilitiesAssignment.cs
- Rotation3D.cs
- DependencyProperty.cs
- MiniLockedBorderGlyph.cs
- ConfigurationElement.cs
- StoryFragments.cs
- ContainerSelectorActiveEvent.cs
- AttributeUsageAttribute.cs
- SkewTransform.cs
- KnownBoxes.cs
- OptimizedTemplateContentHelper.cs
- TemplateColumn.cs
- DataGridViewBand.cs
- ResourceDescriptionAttribute.cs
- TextBlock.cs
- SchemaNotation.cs
- util.cs
- DbQueryCommandTree.cs
- ExtensionSurface.cs
- OdbcEnvironmentHandle.cs
- DataListItemCollection.cs
- ViewCellRelation.cs
- DockingAttribute.cs
- KnownTypesProvider.cs
- TextBounds.cs
- DecimalAverageAggregationOperator.cs
- MustUnderstandBehavior.cs
- DateTimeFormatInfoScanner.cs
- UnsafeNativeMethods.cs
- validation.cs
- LabelDesigner.cs
- cache.cs
- OdbcConnectionString.cs
- WebDescriptionAttribute.cs
- PrintDocument.cs
- DataGridCellEditEndingEventArgs.cs
- BinaryConverter.cs
- DrawingAttributeSerializer.cs
- GenerateScriptTypeAttribute.cs
- ByeMessage11.cs
- CompilationUtil.cs
- XPathNavigator.cs
- SocketException.cs
- Border.cs
- StrokeNodeOperations2.cs
- SimpleApplicationHost.cs
- MetaChildrenColumn.cs
- Button.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SchemaLookupTable.cs
- WebPartsPersonalizationAuthorization.cs
- CodeMethodInvokeExpression.cs
- ConfigXmlSignificantWhitespace.cs
- ElementProxy.cs
- XmlSerializerAssemblyAttribute.cs
- SecureUICommand.cs
- ReflectionTypeLoadException.cs
- RequestCacheValidator.cs
- ReferentialConstraintRoleElement.cs
- FormViewPagerRow.cs
- TouchEventArgs.cs
- ConnectionPointCookie.cs
- AnnotationAuthorChangedEventArgs.cs
- MouseDevice.cs
- ThemeInfoAttribute.cs
- EventHandlersDesigner.cs
- BasePattern.cs
- HScrollProperties.cs
- ConfigXmlAttribute.cs
- TextTreeDeleteContentUndoUnit.cs
- CheckBox.cs
- DefaultTextStore.cs
- TreeViewHitTestInfo.cs
- SubMenuStyle.cs