Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------------- // //// 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
- DeleteCardRequest.cs
- FixedTextView.cs
- XmlSchemaObject.cs
- AsymmetricSignatureDeformatter.cs
- CookieParameter.cs
- CollectionAdapters.cs
- XmlSignificantWhitespace.cs
- ResolveCriteria.cs
- GraphicsContext.cs
- ExtensibleClassFactory.cs
- TreeBuilderBamlTranslator.cs
- HyperLinkStyle.cs
- TextDecorationCollectionConverter.cs
- XPathMultyIterator.cs
- Selection.cs
- ColumnResizeAdorner.cs
- CssClassPropertyAttribute.cs
- ConfigXmlWhitespace.cs
- SqlNodeAnnotations.cs
- CustomLineCap.cs
- QueryRewriter.cs
- UnicodeEncoding.cs
- EntitySetBase.cs
- Win32Native.cs
- EmptyCollection.cs
- ReachDocumentReferenceSerializer.cs
- LambdaCompiler.Statements.cs
- SharedRuntimeState.cs
- InvalidPrinterException.cs
- InlineCollection.cs
- Stopwatch.cs
- ProgressBar.cs
- DataServiceHostFactory.cs
- EffectiveValueEntry.cs
- BaseUriHelper.cs
- AmbientLight.cs
- WindowInteropHelper.cs
- ColorEditor.cs
- GPStream.cs
- _HeaderInfo.cs
- storepermissionattribute.cs
- KoreanLunisolarCalendar.cs
- COM2ComponentEditor.cs
- FilteredSchemaElementLookUpTable.cs
- CodeTypeConstructor.cs
- ScriptResourceAttribute.cs
- DockingAttribute.cs
- ColorComboBox.cs
- ClientSettingsSection.cs
- WebZone.cs
- ConfigXmlElement.cs
- MailAddress.cs
- DataControlFieldHeaderCell.cs
- WindowsFormsHostPropertyMap.cs
- LogicalCallContext.cs
- SafeCryptoHandles.cs
- CompilationLock.cs
- RectAnimationClockResource.cs
- TreeNodeStyleCollectionEditor.cs
- Parameter.cs
- ImpersonationContext.cs
- ProviderException.cs
- BuildProvider.cs
- SelectionProviderWrapper.cs
- Size.cs
- OverrideMode.cs
- XmlToDatasetMap.cs
- TdsValueSetter.cs
- PreservationFileReader.cs
- BitStream.cs
- IFormattable.cs
- SystemIPGlobalStatistics.cs
- Baml6Assembly.cs
- AutomationPropertyInfo.cs
- SoapSchemaExporter.cs
- SeverityFilter.cs
- Errors.cs
- StandardTransformFactory.cs
- oledbconnectionstring.cs
- SoapReflectionImporter.cs
- BlockUIContainer.cs
- GeneralTransform3D.cs
- DataGridView.cs
- CodeAttributeArgumentCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- MaskedTextBox.cs
- SafeRightsManagementHandle.cs
- EnumValAlphaComparer.cs
- RequestStatusBarUpdateEventArgs.cs
- ListViewItemSelectionChangedEvent.cs
- SoapClientMessage.cs
- DispatcherBuilder.cs
- AttachedAnnotationChangedEventArgs.cs
- List.cs
- WinFormsComponentEditor.cs
- HttpContextServiceHost.cs
- Site.cs
- WebPartCatalogCloseVerb.cs
- LinearQuaternionKeyFrame.cs
- DummyDataSource.cs