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
- COMException.cs
- XmlAtomicValue.cs
- InternalTypeHelper.cs
- PathSegment.cs
- Vector3DAnimation.cs
- DigitShape.cs
- DesignRelation.cs
- TransformConverter.cs
- Drawing.cs
- SessionStateContainer.cs
- __ComObject.cs
- GridViewSelectEventArgs.cs
- ImageSource.cs
- ServerReliableChannelBinder.cs
- DependsOnAttribute.cs
- SoapHttpTransportImporter.cs
- ExpressionVisitorHelpers.cs
- FontWeightConverter.cs
- TypeLibConverter.cs
- DynamicControl.cs
- LogLogRecordEnumerator.cs
- RuntimeHelpers.cs
- PlaceHolder.cs
- IndependentAnimationStorage.cs
- LocalizedNameDescriptionPair.cs
- AsymmetricSignatureFormatter.cs
- SocketException.cs
- HtmlInputHidden.cs
- TextServicesContext.cs
- TextHintingModeValidation.cs
- SqlColumnizer.cs
- PocoPropertyAccessorStrategy.cs
- DataGridViewCellStyleChangedEventArgs.cs
- MethodExpr.cs
- TraceProvider.cs
- Context.cs
- JsonReaderDelegator.cs
- PageBuildProvider.cs
- WmfPlaceableFileHeader.cs
- DataSourceComponent.cs
- ChainOfResponsibility.cs
- TextServicesHost.cs
- PropertyGridCommands.cs
- BookmarkEventArgs.cs
- EnvironmentPermission.cs
- PrintDialog.cs
- ParentQuery.cs
- ObjectListCommand.cs
- QueryReaderSettings.cs
- SafeLibraryHandle.cs
- ExpressionLink.cs
- ListChunk.cs
- ZoneMembershipCondition.cs
- CompilationLock.cs
- WebServiceMethodData.cs
- SiteMapDataSource.cs
- AuthenticationSection.cs
- GroupQuery.cs
- CollectionChangedEventManager.cs
- ScrollChrome.cs
- FunctionQuery.cs
- SslStream.cs
- TableChangeProcessor.cs
- Substitution.cs
- DataRecordObjectView.cs
- DesignerExtenders.cs
- RelationshipDetailsCollection.cs
- ExplicitDiscriminatorMap.cs
- PerfCounters.cs
- DefaultTextStoreTextComposition.cs
- MimeReturn.cs
- EdmFunctions.cs
- SQLBinaryStorage.cs
- DataGridPagingPage.cs
- TableDetailsCollection.cs
- UrlMappingsModule.cs
- ParentQuery.cs
- ConnectionStringSettingsCollection.cs
- UntypedNullExpression.cs
- FilteredDataSetHelper.cs
- FileLevelControlBuilderAttribute.cs
- XPathNavigatorKeyComparer.cs
- GetChildSubtree.cs
- HelpExampleGenerator.cs
- ReturnType.cs
- PictureBox.cs
- OdbcConnectionHandle.cs
- QuaternionConverter.cs
- HostingPreferredMapPath.cs
- ValidationPropertyAttribute.cs
- PlatformCulture.cs
- TreeView.cs
- _emptywebproxy.cs
- TransactionFlowBindingElement.cs
- GiveFeedbackEvent.cs
- Matrix3DConverter.cs
- EntityExpressionVisitor.cs
- FacetValueContainer.cs
- PageAdapter.cs
- PermissionAttributes.cs