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
- StylusButton.cs
- Delegate.cs
- Ipv6Element.cs
- DependencyObjectProvider.cs
- Grammar.cs
- AlphaSortedEnumConverter.cs
- InstancePersistenceEvent.cs
- DesigntimeLicenseContext.cs
- SapiRecoContext.cs
- QuerySettings.cs
- ProbeMatches11.cs
- DataGridViewSelectedColumnCollection.cs
- ContextMenuStripGroup.cs
- MenuItemStyle.cs
- SessionParameter.cs
- JsonWriter.cs
- InfoCardSymmetricAlgorithm.cs
- DES.cs
- CompilerScope.cs
- CmsInterop.cs
- DBCSCodePageEncoding.cs
- UriWriter.cs
- EventLog.cs
- WebBodyFormatMessageProperty.cs
- TabControl.cs
- IpcClientChannel.cs
- __FastResourceComparer.cs
- NullableLongMinMaxAggregationOperator.cs
- WinEventWrap.cs
- DesignTimeParseData.cs
- TCPListener.cs
- InvalidDataContractException.cs
- ExecutionEngineException.cs
- TextElementEnumerator.cs
- HwndMouseInputProvider.cs
- Propagator.Evaluator.cs
- StaticResourceExtension.cs
- FixedSOMPageConstructor.cs
- SimpleTextLine.cs
- ChtmlPageAdapter.cs
- ViewStateModeByIdAttribute.cs
- SafeArrayTypeMismatchException.cs
- WebPartEditorApplyVerb.cs
- StrongBox.cs
- StringResourceManager.cs
- EventManager.cs
- WindowsListViewGroup.cs
- RijndaelManaged.cs
- MetadataSerializer.cs
- GeneralTransform.cs
- IDQuery.cs
- RTTypeWrapper.cs
- XmlStreamStore.cs
- SelfIssuedSamlTokenFactory.cs
- SqlReorderer.cs
- MatrixAnimationUsingPath.cs
- Lease.cs
- ImageListUtils.cs
- TextBoxAutomationPeer.cs
- AmbientValueAttribute.cs
- PointAnimationUsingKeyFrames.cs
- OleDbTransaction.cs
- NameSpaceExtractor.cs
- DictionarySurrogate.cs
- ReadOnlyDataSourceView.cs
- AnonymousIdentificationModule.cs
- ParentControlDesigner.cs
- RequestCachingSection.cs
- XmlQueryTypeFactory.cs
- BlockUIContainer.cs
- TailCallAnalyzer.cs
- ACL.cs
- AsyncPostBackErrorEventArgs.cs
- IPAddress.cs
- x509utils.cs
- TemplatedAdorner.cs
- IdnMapping.cs
- VBIdentifierNameEditor.cs
- IncrementalHitTester.cs
- ResourceDisplayNameAttribute.cs
- OperationCanceledException.cs
- TreeNodeCollection.cs
- XmlSchemaFacet.cs
- MsmqTransportSecurity.cs
- XmlSchemaCompilationSettings.cs
- WpfPayload.cs
- SeekStoryboard.cs
- NullableBoolConverter.cs
- ParameterToken.cs
- PassportAuthentication.cs
- Calendar.cs
- EmptyImpersonationContext.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ChangeNode.cs
- EntityDataReader.cs
- FakeModelPropertyImpl.cs
- UInt16.cs
- DBCommandBuilder.cs
- ClientSponsor.cs
- DictionaryEntry.cs