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
- QilUnary.cs
- NativeMethods.cs
- MetadataArtifactLoaderResource.cs
- AutomationPatternInfo.cs
- XmlLanguage.cs
- String.cs
- CompensationTokenData.cs
- StrongNameMembershipCondition.cs
- TreeNodeClickEventArgs.cs
- PropertyEntry.cs
- StateItem.cs
- DesignerHelpers.cs
- TypefaceCollection.cs
- UnwrappedTypesXmlSerializerManager.cs
- StructuredTypeEmitter.cs
- M3DUtil.cs
- TransactionFilter.cs
- PropertyCollection.cs
- XmlResolver.cs
- CompatibleComparer.cs
- TaiwanLunisolarCalendar.cs
- SafeFileMappingHandle.cs
- PageAsyncTaskManager.cs
- DocumentPageHost.cs
- WebDisplayNameAttribute.cs
- CompiledQueryCacheKey.cs
- CallbackHandler.cs
- FormViewModeEventArgs.cs
- ImportedNamespaceContextItem.cs
- MenuBase.cs
- MsmqSecureHashAlgorithm.cs
- RequestContext.cs
- DocumentApplicationJournalEntryEventArgs.cs
- ProxyManager.cs
- TextAction.cs
- MetadataPropertyAttribute.cs
- InkCanvasAutomationPeer.cs
- ClientProxyGenerator.cs
- FileFormatException.cs
- ManagementDateTime.cs
- LogStore.cs
- AutoGeneratedField.cs
- PropertyOverridesDialog.cs
- ConfigurationHelpers.cs
- ManagementObject.cs
- XmlNullResolver.cs
- XmlCodeExporter.cs
- ToolStripPanelCell.cs
- ClientSponsor.cs
- SqlNodeAnnotation.cs
- SessionEndingEventArgs.cs
- RelationshipManager.cs
- UserMapPath.cs
- MonitorWrapper.cs
- BindingBase.cs
- EventHandlerService.cs
- HttpRequest.cs
- MetabaseServerConfig.cs
- Context.cs
- SchemaType.cs
- StylusPointProperty.cs
- Queue.cs
- GroupBox.cs
- ChangesetResponse.cs
- SettingsProviderCollection.cs
- List.cs
- SoundPlayerAction.cs
- TextControlDesigner.cs
- StorageModelBuildProvider.cs
- Transform3D.cs
- CompositeFontParser.cs
- RotateTransform.cs
- Floater.cs
- SignatureDescription.cs
- RegisteredDisposeScript.cs
- DataKeyCollection.cs
- SiteMapNodeItem.cs
- HScrollBar.cs
- CharKeyFrameCollection.cs
- ExpandCollapsePattern.cs
- AssemblyAssociatedContentFileAttribute.cs
- ColorConvertedBitmap.cs
- RemotingAttributes.cs
- ExtenderProvidedPropertyAttribute.cs
- CriticalExceptions.cs
- MenuEventArgs.cs
- FormViewDeleteEventArgs.cs
- DllHostInitializer.cs
- TextEditorMouse.cs
- QuaternionAnimation.cs
- PrintPageEvent.cs
- WebPartUserCapability.cs
- DataChangedEventManager.cs
- ExceptionAggregator.cs
- TaskDesigner.cs
- InputScope.cs
- KnownAssembliesSet.cs
- Properties.cs
- ActivityTypeCodeDomSerializer.cs
- HtmlCalendarAdapter.cs