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
- FunctionQuery.cs
- AnimationStorage.cs
- CqlParser.cs
- SoundPlayer.cs
- TemplateApplicationHelper.cs
- ValidationPropertyAttribute.cs
- COM2IDispatchConverter.cs
- FormConverter.cs
- LineSegment.cs
- InputBinding.cs
- HtmlFormWrapper.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- ColorAnimationBase.cs
- EUCJPEncoding.cs
- AutomationElementIdentifiers.cs
- ValueTypeFixupInfo.cs
- DesignerListAdapter.cs
- GraphicsContainer.cs
- DataTableCollection.cs
- StylusPointPropertyInfo.cs
- ListBindingHelper.cs
- ComplusEndpointConfigContainer.cs
- QueryCacheManager.cs
- CachedPathData.cs
- ConfigXmlText.cs
- PasswordBoxAutomationPeer.cs
- HtmlDocument.cs
- TreeNodeBindingCollection.cs
- DesignerCalendarAdapter.cs
- DetailsViewUpdatedEventArgs.cs
- TdsParserHelperClasses.cs
- AnnotationMap.cs
- BulletedList.cs
- ControlAdapter.cs
- VisualBrush.cs
- ButtonBaseAutomationPeer.cs
- PropertySourceInfo.cs
- OleDbParameter.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- _ListenerResponseStream.cs
- WriteableBitmap.cs
- SoapSchemaImporter.cs
- IndexedString.cs
- XmlObjectSerializer.cs
- BlockUIContainer.cs
- ScrollChrome.cs
- Graph.cs
- DrawToolTipEventArgs.cs
- RangeValuePatternIdentifiers.cs
- SequenceQuery.cs
- CellCreator.cs
- FunctionImportElement.cs
- MethodBuilderInstantiation.cs
- WebZone.cs
- AspNetSynchronizationContext.cs
- PersianCalendar.cs
- StructuredType.cs
- UpdatePanelTriggerCollection.cs
- AsymmetricAlgorithm.cs
- TextRangeBase.cs
- HttpBrowserCapabilitiesBase.cs
- IdentifierCollection.cs
- AssemblyFilter.cs
- DataContractSerializerFaultFormatter.cs
- recordstatefactory.cs
- PerformanceCountersBase.cs
- SmtpLoginAuthenticationModule.cs
- PathData.cs
- DeviceContexts.cs
- PropertiesTab.cs
- HttpCookiesSection.cs
- MessageContractImporter.cs
- ReadOnlyHierarchicalDataSource.cs
- LocalizableResourceBuilder.cs
- SmtpReplyReader.cs
- InheritanceAttribute.cs
- SharedPerformanceCounter.cs
- IntSumAggregationOperator.cs
- ToolStripItem.cs
- CookieHandler.cs
- TabPage.cs
- ProgressBarRenderer.cs
- TrackingServices.cs
- MsmqException.cs
- Misc.cs
- Utils.cs
- RegexGroupCollection.cs
- DetailsViewInsertedEventArgs.cs
- LocalIdCollection.cs
- SettingsSection.cs
- XPathNodeList.cs
- IsolatedStorageException.cs
- ContainerSelectorBehavior.cs
- TextProperties.cs
- TransformProviderWrapper.cs
- ExitEventArgs.cs
- ColumnResizeAdorner.cs
- COM2Properties.cs
- XmlCustomFormatter.cs
- LineServicesRun.cs