Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ElementHostAutomationPeer.cs
- IsolatedStorageFileStream.cs
- SqlEnums.cs
- CachedTypeface.cs
- LongValidatorAttribute.cs
- Variable.cs
- MemberMemberBinding.cs
- ManualResetEvent.cs
- CommandBinding.cs
- RuntimeHelpers.cs
- SourceItem.cs
- TypeForwardedToAttribute.cs
- CorrelationValidator.cs
- TextParagraphView.cs
- SizeConverter.cs
- mediaeventargs.cs
- XmlSchemaRedefine.cs
- PathBox.cs
- ListSortDescription.cs
- Deserializer.cs
- DataGridLinkButton.cs
- WebPartVerbsEventArgs.cs
- DBDataPermission.cs
- WorkflowRuntimeService.cs
- PageCatalogPart.cs
- FileEnumerator.cs
- MetadataArtifactLoaderFile.cs
- ParameterExpression.cs
- WindowsSysHeader.cs
- ByteStack.cs
- EditCommandColumn.cs
- Base64Decoder.cs
- EmbeddedMailObjectsCollection.cs
- IntegerFacetDescriptionElement.cs
- EnvelopedPkcs7.cs
- Certificate.cs
- ColumnCollection.cs
- UserControlDocumentDesigner.cs
- QueuedDeliveryRequirementsMode.cs
- SequentialWorkflowRootDesigner.cs
- DataGridBoolColumn.cs
- CompilationUnit.cs
- Permission.cs
- MultipleViewPattern.cs
- DataGridRowEventArgs.cs
- PackageFilter.cs
- GreenMethods.cs
- CommandDesigner.cs
- ResourceManagerWrapper.cs
- VisualTreeHelper.cs
- BitmapEffectInputConnector.cs
- CapabilitiesUse.cs
- TabControl.cs
- PropVariant.cs
- sqlcontext.cs
- ShimAsPublicXamlType.cs
- CodeExporter.cs
- OpacityConverter.cs
- ConfigXmlWhitespace.cs
- ProviderException.cs
- TraceListener.cs
- CmsInterop.cs
- ArgumentValue.cs
- SoapElementAttribute.cs
- InternalPolicyElement.cs
- GCHandleCookieTable.cs
- ValueTypeFixupInfo.cs
- sqlpipe.cs
- SoapExtensionTypeElement.cs
- ImageMap.cs
- ScriptReferenceEventArgs.cs
- DiagnosticSection.cs
- HandledEventArgs.cs
- ObjectAnimationUsingKeyFrames.cs
- HostProtectionException.cs
- TagMapCollection.cs
- CharacterShapingProperties.cs
- CodeDelegateCreateExpression.cs
- MimeMapping.cs
- CrossSiteScriptingValidation.cs
- Evaluator.cs
- InputReportEventArgs.cs
- QilVisitor.cs
- MetadataImporterQuotas.cs
- BamlBinaryReader.cs
- keycontainerpermission.cs
- BitmapEffectrendercontext.cs
- LockRecursionException.cs
- Compiler.cs
- LeaseManager.cs
- PageBuildProvider.cs
- AmbientProperties.cs
- XamlReader.cs
- ControlFilterExpression.cs
- AutomationPatternInfo.cs
- DataGridColumn.cs
- SqlNotificationRequest.cs
- DocComment.cs
- BaseHashHelper.cs
- DropTarget.cs