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
- DeferredElementTreeState.cs
- WebSysDefaultValueAttribute.cs
- WebPartCatalogCloseVerb.cs
- Compiler.cs
- MdiWindowListStrip.cs
- HttpFileCollection.cs
- DefaultTypeArgumentAttribute.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- PersonalizationAdministration.cs
- ServiceMemoryGates.cs
- DataContext.cs
- SimpleFieldTemplateUserControl.cs
- ObservableCollectionDefaultValueFactory.cs
- DataObject.cs
- BatchParser.cs
- CodeStatementCollection.cs
- MultilineStringConverter.cs
- TypeToArgumentTypeConverter.cs
- AxisAngleRotation3D.cs
- RootBuilder.cs
- XPathNodeInfoAtom.cs
- SHA256.cs
- Variant.cs
- Tokenizer.cs
- Registration.cs
- PhysicalFontFamily.cs
- EmissiveMaterial.cs
- DataListItemEventArgs.cs
- IIS7UserPrincipal.cs
- HttpServerVarsCollection.cs
- PersonalizationProviderHelper.cs
- compensatingcollection.cs
- SafeViewOfFileHandle.cs
- ReferencedCollectionType.cs
- MailBnfHelper.cs
- TextClipboardData.cs
- Environment.cs
- SmiContextFactory.cs
- MetadataProperty.cs
- LocalizeDesigner.cs
- FileSystemInfo.cs
- SmiConnection.cs
- WSSecurityXXX2005.cs
- CapabilitiesState.cs
- DynamicILGenerator.cs
- AsynchronousChannelMergeEnumerator.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- BufferBuilder.cs
- LinkLabel.cs
- DataListItemEventArgs.cs
- CompositeControl.cs
- PropertyGridView.cs
- BamlTreeNode.cs
- DispatcherFrame.cs
- WebPartEditorOkVerb.cs
- OutputCacheModule.cs
- CacheForPrimitiveTypes.cs
- CFGGrammar.cs
- ConstraintEnumerator.cs
- XmlSchemaNotation.cs
- BooleanSwitch.cs
- UnitControl.cs
- KerberosSecurityTokenProvider.cs
- X500Name.cs
- DoubleUtil.cs
- SqlException.cs
- ProviderSettings.cs
- SQLBytes.cs
- util.cs
- SafeCryptContextHandle.cs
- SqlNodeTypeOperators.cs
- SeparatorAutomationPeer.cs
- OleDbError.cs
- BindingMemberInfo.cs
- DataGridViewSelectedRowCollection.cs
- ResourceReferenceExpressionConverter.cs
- FormViewCommandEventArgs.cs
- CheckBoxStandardAdapter.cs
- SequentialUshortCollection.cs
- EventDescriptorCollection.cs
- WorkflowInstance.cs
- BitmapEffectRenderDataResource.cs
- XamlPathDataSerializer.cs
- DataControlButton.cs
- ListItemCollection.cs
- EventRouteFactory.cs
- InlinedLocationReference.cs
- EdmItemCollection.OcAssemblyCache.cs
- SystemResources.cs
- InkSerializer.cs
- QueryResult.cs
- SymLanguageType.cs
- WebPartCloseVerb.cs
- TextTreeNode.cs
- XmlToDatasetMap.cs
- StyleCollection.cs
- StrokeCollectionDefaultValueFactory.cs
- QueryOutputWriter.cs
- ConfigurationLocationCollection.cs
- Sql8ExpressionRewriter.cs