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
- ViewLoader.cs
- StringUtil.cs
- EntityKey.cs
- PersonalizablePropertyEntry.cs
- PrinterResolution.cs
- SystemColors.cs
- DbConnectionPoolOptions.cs
- SspiNegotiationTokenProviderState.cs
- IndexedString.cs
- String.cs
- CheckBoxField.cs
- controlskin.cs
- MetadataWorkspace.cs
- StateMachineAction.cs
- TabletDevice.cs
- GcHandle.cs
- OpCodes.cs
- SvcMapFileSerializer.cs
- InputLanguageManager.cs
- XmlQueryContext.cs
- SafeNativeMethods.cs
- AttributeEmitter.cs
- XmlText.cs
- MemberRelationshipService.cs
- DependentList.cs
- BorderGapMaskConverter.cs
- EdmConstants.cs
- VectorCollection.cs
- codemethodreferenceexpression.cs
- ErrorFormatterPage.cs
- HMACSHA1.cs
- _BasicClient.cs
- SendMailErrorEventArgs.cs
- DbParameterHelper.cs
- PointCollection.cs
- DataKey.cs
- DbInsertCommandTree.cs
- XmlSchemaAnyAttribute.cs
- WsatTransactionFormatter.cs
- Assembly.cs
- ScriptMethodAttribute.cs
- RoleService.cs
- GetPageNumberCompletedEventArgs.cs
- RequestCachePolicy.cs
- FlowLayout.cs
- WhitespaceReader.cs
- XPathItem.cs
- Clock.cs
- ProcessInfo.cs
- HtmlInputReset.cs
- HtmlFormParameterReader.cs
- GlobalItem.cs
- ObjectHandle.cs
- VariableBinder.cs
- ReadOnlyAttribute.cs
- ColumnCollection.cs
- COAUTHIDENTITY.cs
- DrawingVisualDrawingContext.cs
- Section.cs
- InputReport.cs
- SizeAnimationBase.cs
- SrgsRuleRef.cs
- MetabaseServerConfig.cs
- TransformerInfoCollection.cs
- JumpItem.cs
- BoundColumn.cs
- GraphicsPathIterator.cs
- BinaryParser.cs
- WebPartAddingEventArgs.cs
- OdbcParameterCollection.cs
- IDispatchConstantAttribute.cs
- NativeWrapper.cs
- PageThemeCodeDomTreeGenerator.cs
- DecimalAnimation.cs
- ThrowHelper.cs
- DispatcherProcessingDisabled.cs
- PersonalizableAttribute.cs
- ObjectManager.cs
- QueryConverter.cs
- SR.cs
- NameSpaceExtractor.cs
- dtdvalidator.cs
- FactoryId.cs
- RootBuilder.cs
- ObjectKeyFrameCollection.cs
- TypeDependencyAttribute.cs
- XmlTextWriter.cs
- ToolBarOverflowPanel.cs
- TypeInfo.cs
- ActiveXContainer.cs
- CompensationToken.cs
- CodeSnippetStatement.cs
- UnsafeMethods.cs
- ToolStripSplitButton.cs
- Util.cs
- TextInfo.cs
- PersianCalendar.cs
- AccessText.cs
- EventSourceCreationData.cs
- ProfileSection.cs