Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / FillRuleValidation.cs / 1 / FillRuleValidation.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 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
- ClientFormsAuthenticationCredentials.cs
- ByeOperationCD1AsyncResult.cs
- Update.cs
- BitmapCache.cs
- PointLight.cs
- MenuEventArgs.cs
- WorkflowLayouts.cs
- TargetInvocationException.cs
- DataGridViewTextBoxCell.cs
- Roles.cs
- WebPartDisplayModeCancelEventArgs.cs
- EmissiveMaterial.cs
- XpsDocumentEvent.cs
- TrustManagerMoreInformation.cs
- DataMisalignedException.cs
- GridViewSelectEventArgs.cs
- CompositeCollection.cs
- FontWeights.cs
- Int32AnimationBase.cs
- NestedContainer.cs
- SafeArrayRankMismatchException.cs
- SizeConverter.cs
- AuthenticationSection.cs
- MappingItemCollection.cs
- DataGridViewUtilities.cs
- UnaryOperationBinder.cs
- CharacterBufferReference.cs
- CodeDirectiveCollection.cs
- StateInitializationDesigner.cs
- SystemFonts.cs
- FormClosingEvent.cs
- AnyReturnReader.cs
- CachedPathData.cs
- CommonObjectSecurity.cs
- RowVisual.cs
- ChildrenQuery.cs
- Misc.cs
- FileDialog_Vista.cs
- ButtonFlatAdapter.cs
- DataGridTextBox.cs
- DragDeltaEventArgs.cs
- Pick.cs
- ProviderSettingsCollection.cs
- MessageBodyDescription.cs
- HttpMethodAttribute.cs
- Converter.cs
- __FastResourceComparer.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- InkPresenter.cs
- PackageRelationship.cs
- BinaryConverter.cs
- WorkflowService.cs
- DataGridViewCellConverter.cs
- EndpointIdentityConverter.cs
- DataSourceHelper.cs
- CompositionAdorner.cs
- PowerEase.cs
- CopyAction.cs
- WorkflowServiceHost.cs
- Span.cs
- ConfigXmlAttribute.cs
- OrderByBuilder.cs
- BindingElementCollection.cs
- AstTree.cs
- RangeValuePatternIdentifiers.cs
- Lasso.cs
- DEREncoding.cs
- HtmlProps.cs
- TypeDelegator.cs
- ValuePattern.cs
- EventWaitHandleSecurity.cs
- WebPartRestoreVerb.cs
- EntityDesignPluralizationHandler.cs
- HebrewNumber.cs
- IgnoreSection.cs
- ParentUndoUnit.cs
- AsyncPostBackErrorEventArgs.cs
- View.cs
- TableHeaderCell.cs
- InvalidPrinterException.cs
- BuilderElements.cs
- TextRange.cs
- MulticastDelegate.cs
- DataSetUtil.cs
- IncrementalReadDecoders.cs
- CacheForPrimitiveTypes.cs
- VectorCollectionConverter.cs
- FieldInfo.cs
- PreProcessInputEventArgs.cs
- Literal.cs
- PropertyPath.cs
- SystemBrushes.cs
- LinqDataSourceSelectEventArgs.cs
- PropertyInfoSet.cs
- DbgUtil.cs
- OleDbSchemaGuid.cs
- ResourceReferenceKeyNotFoundException.cs
- Codec.cs
- MenuRenderer.cs
- DiagnosticsConfigurationHandler.cs