Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- CharConverter.cs
- Int32Rect.cs
- EnterpriseServicesHelper.cs
- PageBuildProvider.cs
- Logging.cs
- CodeGen.cs
- SyntaxCheck.cs
- CultureTableRecord.cs
- WizardForm.cs
- TextMarkerSource.cs
- SessionKeyExpiredException.cs
- WinEventQueueItem.cs
- PropertyTabAttribute.cs
- KeyPressEvent.cs
- HttpHandlerAction.cs
- UnitySerializationHolder.cs
- QilChoice.cs
- UrlMappingCollection.cs
- DrawingBrush.cs
- PackageDigitalSignatureManager.cs
- Rect3DConverter.cs
- DynamicDataManager.cs
- XmlHierarchicalDataSourceView.cs
- InteropTrackingRecord.cs
- NullReferenceException.cs
- SystemIPv4InterfaceProperties.cs
- WebPartsSection.cs
- PolyLineSegment.cs
- SqlProvider.cs
- TreeNodeBinding.cs
- TextEvent.cs
- FunctionNode.cs
- OperandQuery.cs
- XamlSerializerUtil.cs
- ParserExtension.cs
- MimeParameter.cs
- MailWriter.cs
- SessionEndedEventArgs.cs
- SemanticKeyElement.cs
- SelectedDatesCollection.cs
- TemplateParser.cs
- HtmlInputImage.cs
- WindowsGraphics2.cs
- CellParagraph.cs
- WindowsListBox.cs
- GeneralTransform2DTo3D.cs
- _ContextAwareResult.cs
- CapabilitiesUse.cs
- CodeCatchClauseCollection.cs
- httpstaticobjectscollection.cs
- EntityDataSourceDesignerHelper.cs
- ExecutionScope.cs
- DropShadowEffect.cs
- Monitor.cs
- EventPropertyMap.cs
- BinHexEncoder.cs
- MasterPageCodeDomTreeGenerator.cs
- SqlCacheDependency.cs
- InvokeMethod.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DataStorage.cs
- SafeUserTokenHandle.cs
- X509ChainElement.cs
- LongValidator.cs
- ValidationError.cs
- ProfileGroupSettings.cs
- DispatcherOperation.cs
- WindowsSpinner.cs
- SlipBehavior.cs
- HyperLink.cs
- RangeValuePatternIdentifiers.cs
- Vector3DCollection.cs
- HttpDictionary.cs
- DrawingState.cs
- NavigationFailedEventArgs.cs
- TextRangeProviderWrapper.cs
- PaginationProgressEventArgs.cs
- DocComment.cs
- HandleTable.cs
- MsmqIntegrationMessageProperty.cs
- ParseElementCollection.cs
- Asn1IntegerConverter.cs
- ValidationEventArgs.cs
- wmiutil.cs
- RowToParametersTransformer.cs
- CqlQuery.cs
- TextServicesHost.cs
- TextParagraphView.cs
- SafeUserTokenHandle.cs
- ProxyFragment.cs
- FreezableOperations.cs
- DataServices.cs
- OutputCacheProfileCollection.cs
- TypeSemantics.cs
- ActivityCodeGenerator.cs
- ActivityCodeDomSerializer.cs
- X509Chain.cs
- TimelineClockCollection.cs
- ToolStripItemEventArgs.cs
- ToolTipAutomationPeer.cs