Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- OdbcFactory.cs
- DataGridViewBindingCompleteEventArgs.cs
- GridViewSortEventArgs.cs
- DebuggerAttributes.cs
- CaseExpr.cs
- counter.cs
- ExpressionEditor.cs
- FigureParaClient.cs
- DataRecordInternal.cs
- EpmContentSerializer.cs
- TypeSystemProvider.cs
- HandleRef.cs
- ProfileBuildProvider.cs
- ISessionStateStore.cs
- PeerToPeerException.cs
- CryptoConfig.cs
- PolyQuadraticBezierSegment.cs
- SpecularMaterial.cs
- WebPartTransformerAttribute.cs
- Visitor.cs
- CompilerGeneratedAttribute.cs
- RightsManagementUser.cs
- TransactionFilter.cs
- EventMappingSettingsCollection.cs
- ConnectorEditor.cs
- TextTreePropertyUndoUnit.cs
- AdvancedBindingEditor.cs
- ContentElementAutomationPeer.cs
- TdsParserStaticMethods.cs
- GC.cs
- LogSwitch.cs
- PolyQuadraticBezierSegment.cs
- DesignerActionTextItem.cs
- Membership.cs
- UpWmlMobileTextWriter.cs
- KoreanLunisolarCalendar.cs
- SqlBuilder.cs
- XmlNavigatorFilter.cs
- AnnotationAuthorChangedEventArgs.cs
- OpCodes.cs
- FileCodeGroup.cs
- PixelShader.cs
- DbConnectionPool.cs
- DesignerTransactionCloseEvent.cs
- DataGridViewRowEventArgs.cs
- MenuItem.cs
- VsPropertyGrid.cs
- PathGeometry.cs
- CompModHelpers.cs
- DataGridViewRowHeaderCell.cs
- IPAddress.cs
- ZipIOLocalFileHeader.cs
- TableParagraph.cs
- RegularExpressionValidator.cs
- WebPartZoneCollection.cs
- New.cs
- PreservationFileReader.cs
- DeclaredTypeValidator.cs
- EventLogPermissionEntryCollection.cs
- FlowLayoutPanel.cs
- ClaimTypes.cs
- StorageModelBuildProvider.cs
- HighContrastHelper.cs
- PartialArray.cs
- WindowsGraphics2.cs
- DependencySource.cs
- WebDisplayNameAttribute.cs
- LabelLiteral.cs
- PlatformNotSupportedException.cs
- GroupStyle.cs
- DiscoveryEndpointElement.cs
- WebPartTracker.cs
- MachineKeyConverter.cs
- MutexSecurity.cs
- SecurityMessageProperty.cs
- Compress.cs
- GridViewAutomationPeer.cs
- SessionPageStateSection.cs
- TransportDefaults.cs
- InheritedPropertyChangedEventArgs.cs
- DoubleConverter.cs
- StructuredType.cs
- securitymgrsite.cs
- InkCanvas.cs
- ErrorLog.cs
- TemplateBuilder.cs
- CounterSet.cs
- BuildManager.cs
- BitmapEffectState.cs
- ContentElementAutomationPeer.cs
- XhtmlBasicFormAdapter.cs
- SrgsText.cs
- GridEntryCollection.cs
- sortedlist.cs
- TextRangeProviderWrapper.cs
- SpecularMaterial.cs
- Pair.cs
- DropSource.cs
- OverflowException.cs
- ExternalCalls.cs