Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / FillRuleValidation.cs / 1305600 / FillRuleValidation.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 IsFillRuleValid(object valueObject) { FillRule value = (FillRule) valueObject; return (value == FillRule.EvenOdd) || (value == FillRule.Nonzero); } } } // 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
- MissingMethodException.cs
- ColorTransformHelper.cs
- CodeArrayCreateExpression.cs
- NavigationCommands.cs
- MdImport.cs
- RC2CryptoServiceProvider.cs
- Image.cs
- RuntimeArgumentHandle.cs
- ConsoleEntryPoint.cs
- TableLayoutStyleCollection.cs
- Overlapped.cs
- LogicalTreeHelper.cs
- MeasureItemEvent.cs
- CodeDomComponentSerializationService.cs
- ConstraintManager.cs
- StringReader.cs
- OleDbRowUpdatingEvent.cs
- SimpleWebHandlerParser.cs
- WindowsBrush.cs
- SrgsGrammar.cs
- SqlDataSourceView.cs
- EventLogEntryCollection.cs
- Event.cs
- EmbossBitmapEffect.cs
- MetadataArtifactLoaderResource.cs
- DataControlLinkButton.cs
- DynamicResourceExtension.cs
- XmlText.cs
- PackageDigitalSignatureManager.cs
- DetailsViewUpdatedEventArgs.cs
- AnonymousIdentificationModule.cs
- BitmapEffectDrawing.cs
- UserInitiatedNavigationPermission.cs
- ColumnHeader.cs
- WebConfigurationHost.cs
- DesignSurfaceCollection.cs
- PageAdapter.cs
- KeyPullup.cs
- ScrollBar.cs
- EventProvider.cs
- SymbolMethod.cs
- CodeComment.cs
- HtmlToClrEventProxy.cs
- tooltip.cs
- TextCharacters.cs
- DataGridCommandEventArgs.cs
- PolyLineSegment.cs
- TaskResultSetter.cs
- ModuleConfigurationInfo.cs
- XpsS0ValidatingLoader.cs
- ALinqExpressionVisitor.cs
- XamlInt32CollectionSerializer.cs
- SQLByteStorage.cs
- WsatConfiguration.cs
- MethodAccessException.cs
- AttachedPropertyMethodSelector.cs
- mactripleDES.cs
- MultiPageTextView.cs
- ZipPackagePart.cs
- LostFocusEventManager.cs
- ResourceIDHelper.cs
- MSHTMLHostUtil.cs
- AlphaSortedEnumConverter.cs
- _ConnectionGroup.cs
- SecurityDescriptor.cs
- WebResponse.cs
- OlePropertyStructs.cs
- OciLobLocator.cs
- AdRotator.cs
- TabletDevice.cs
- TextPointerBase.cs
- HandlerBase.cs
- Itemizer.cs
- PenThreadWorker.cs
- ISCIIEncoding.cs
- FrameworkElement.cs
- HierarchicalDataBoundControl.cs
- NullToBooleanConverter.cs
- HMACSHA256.cs
- SoapFault.cs
- SqlConnectionString.cs
- CodeValidator.cs
- NativeMethods.cs
- HandlerWithFactory.cs
- ZipFileInfoCollection.cs
- BigInt.cs
- TimerElapsedEvenArgs.cs
- ConfigurationPropertyAttribute.cs
- WorkflowServiceAttributes.cs
- FormClosingEvent.cs
- CommonBehaviorsSection.cs
- StrokeNodeOperations2.cs
- ParseChildrenAsPropertiesAttribute.cs
- EntryWrittenEventArgs.cs
- ACL.cs
- TimeSpanStorage.cs
- SecureUICommand.cs
- SizeAnimationUsingKeyFrames.cs
- PageCodeDomTreeGenerator.cs
- AttributeProviderAttribute.cs