Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / 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 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
- ObjectCacheHost.cs
- XmlBaseWriter.cs
- SigningCredentials.cs
- PackagingUtilities.cs
- NativeMethodsOther.cs
- ErrorTableItemStyle.cs
- MapPathBasedVirtualPathProvider.cs
- BasePattern.cs
- SRGSCompiler.cs
- ErrorStyle.cs
- InvalidWorkflowException.cs
- SendMailErrorEventArgs.cs
- DuplexChannelFactory.cs
- XomlCompilerResults.cs
- TableLayoutSettings.cs
- BaseProcessor.cs
- DelimitedListTraceListener.cs
- PerfCounters.cs
- RegexBoyerMoore.cs
- DefaultBinder.cs
- IPAddress.cs
- BlobPersonalizationState.cs
- iisPickupDirectory.cs
- RegexWriter.cs
- CanonicalFontFamilyReference.cs
- NotifyParentPropertyAttribute.cs
- HttpConfigurationContext.cs
- Baml2006SchemaContext.cs
- SinglePhaseEnlistment.cs
- ListItemCollection.cs
- XmlSerializerOperationFormatter.cs
- EditCommandColumn.cs
- WriterOutput.cs
- Conditional.cs
- ConfigurationValues.cs
- ClientFormsIdentity.cs
- DataGridViewRowPrePaintEventArgs.cs
- PenContext.cs
- ToolStripItemImageRenderEventArgs.cs
- Knowncolors.cs
- Int16.cs
- TableColumnCollectionInternal.cs
- List.cs
- RegexWorker.cs
- TransformerConfigurationWizardBase.cs
- WebBrowserPermission.cs
- WindowHideOrCloseTracker.cs
- ObjectStateFormatter.cs
- ProcessHostFactoryHelper.cs
- CapabilitiesSection.cs
- EFTableProvider.cs
- ActivityCodeDomSerializer.cs
- GraphicsContext.cs
- ModelVisual3D.cs
- ProjectionCamera.cs
- KeyedHashAlgorithm.cs
- PowerStatus.cs
- ReflectTypeDescriptionProvider.cs
- SplitterEvent.cs
- SqlDataSourceRefreshSchemaForm.cs
- ThreadExceptionEvent.cs
- SystemIcons.cs
- DigitShape.cs
- KoreanLunisolarCalendar.cs
- File.cs
- ValidatorCompatibilityHelper.cs
- DataServiceOperationContext.cs
- AxHost.cs
- NetStream.cs
- KeyEventArgs.cs
- SafeJobHandle.cs
- XsdDateTime.cs
- JavaScriptString.cs
- ProxyGenerationError.cs
- RoleGroupCollection.cs
- __FastResourceComparer.cs
- CodeTypeConstructor.cs
- DependencySource.cs
- MergePropertyDescriptor.cs
- EntityProviderServices.cs
- XmlDocumentFragment.cs
- relpropertyhelper.cs
- SqlDataSourceView.cs
- FixedPage.cs
- DocumentReference.cs
- NetworkInformationPermission.cs
- OdbcEnvironmentHandle.cs
- TextPointer.cs
- ExtensionQuery.cs
- ChannelBase.cs
- StringUtil.cs
- SecurityKeyType.cs
- IntegrationExceptionEventArgs.cs
- ModulesEntry.cs
- LexicalChunk.cs
- CompiledAction.cs
- StrokeSerializer.cs
- SecurityContext.cs
- fixedPageContentExtractor.cs
- OneOfElement.cs