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
- VariableAction.cs
- COM2ICategorizePropertiesHandler.cs
- SocketException.cs
- FileUtil.cs
- LocalIdKeyIdentifierClause.cs
- ErrorRuntimeConfig.cs
- DataBindingHandlerAttribute.cs
- ToolStripItemDesigner.cs
- Line.cs
- TextMessageEncoder.cs
- TriggerBase.cs
- HostedBindingBehavior.cs
- OdbcReferenceCollection.cs
- Interlocked.cs
- ComponentCollection.cs
- Polyline.cs
- WindowsEditBox.cs
- OutputCacheSection.cs
- DataServiceClientException.cs
- Random.cs
- DataListCommandEventArgs.cs
- StringFreezingAttribute.cs
- QuaternionAnimation.cs
- AttributeSetAction.cs
- ComNativeDescriptor.cs
- SamlAudienceRestrictionCondition.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- XmlRawWriter.cs
- SqlNotificationRequest.cs
- PrePostDescendentsWalker.cs
- ImageListUtils.cs
- ContentType.cs
- Native.cs
- XamlInt32CollectionSerializer.cs
- WebBrowserNavigatedEventHandler.cs
- MergeEnumerator.cs
- InputDevice.cs
- AppSettingsExpressionBuilder.cs
- DataGridViewCellCollection.cs
- XhtmlBasicPanelAdapter.cs
- ThreadPool.cs
- TimeoutValidationAttribute.cs
- XslTransform.cs
- PreviewControlDesigner.cs
- WorkflowQueuingService.cs
- ExtensibleClassFactory.cs
- SystemIPAddressInformation.cs
- AssociatedControlConverter.cs
- SQLStringStorage.cs
- DelegatedStream.cs
- DataBindEngine.cs
- VersionedStream.cs
- DebuggerService.cs
- ToolStripProgressBar.cs
- Membership.cs
- OverflowException.cs
- WebBrowserHelper.cs
- WaitHandle.cs
- ProfileService.cs
- FileDialogCustomPlaces.cs
- XmlNodeList.cs
- DescendentsWalker.cs
- SqlDataSourceCache.cs
- ConfigXmlComment.cs
- GZipStream.cs
- InfiniteIntConverter.cs
- AnnotationResourceChangedEventArgs.cs
- PositiveTimeSpanValidatorAttribute.cs
- newinstructionaction.cs
- SvcMapFile.cs
- DesignerActionItem.cs
- Pair.cs
- ReflectionTypeLoadException.cs
- PointKeyFrameCollection.cs
- Triplet.cs
- XslCompiledTransform.cs
- ImplicitInputBrush.cs
- BinaryMessageFormatter.cs
- DataTableClearEvent.cs
- ItemCollection.cs
- CopyOnWriteList.cs
- BindingList.cs
- SafeRightsManagementSessionHandle.cs
- XamlSerializerUtil.cs
- DiffuseMaterial.cs
- RawTextInputReport.cs
- InvokeFunc.cs
- InvalidDataException.cs
- SessionStateModule.cs
- SqlXml.cs
- WebPartUserCapability.cs
- Literal.cs
- SspiHelper.cs
- templategroup.cs
- NameValueSectionHandler.cs
- ControlEvent.cs
- XmlSerializationReader.cs
- DrawingContextWalker.cs
- TableItemStyle.cs
- XmlWriter.cs