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
- TableItemPattern.cs
- MergeFilterQuery.cs
- NameService.cs
- HandleCollector.cs
- WebPartTransformer.cs
- VectorKeyFrameCollection.cs
- WeakEventTable.cs
- ViewPort3D.cs
- PageCodeDomTreeGenerator.cs
- DBDataPermission.cs
- MessageOperationFormatter.cs
- LocatorPartList.cs
- ServiceDescriptionReflector.cs
- Crc32.cs
- HtmlContainerControl.cs
- ProcessThreadCollection.cs
- Link.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- GenericPrincipal.cs
- ModelTreeEnumerator.cs
- ManualResetEventSlim.cs
- RequiredFieldValidator.cs
- AtomPub10ServiceDocumentFormatter.cs
- XmlValueConverter.cs
- TypeNameParser.cs
- InvokeMethodActivity.cs
- PageThemeParser.cs
- ExpandoObject.cs
- RuntimeHelpers.cs
- Compensation.cs
- RegularExpressionValidator.cs
- PropertyPushdownHelper.cs
- DataPagerFieldCommandEventArgs.cs
- XmlComment.cs
- ParagraphResult.cs
- InstanceKeyNotReadyException.cs
- Buffer.cs
- EditingScopeUndoUnit.cs
- ScriptReferenceEventArgs.cs
- UInt16Converter.cs
- CodeStatement.cs
- PageStatePersister.cs
- PeerInvitationResponse.cs
- WebColorConverter.cs
- XmlAttributeAttribute.cs
- DBCommandBuilder.cs
- DataGridView.cs
- KerberosReceiverSecurityToken.cs
- HighContrastHelper.cs
- SystemParameters.cs
- SafeArrayTypeMismatchException.cs
- EpmContentDeSerializerBase.cs
- SamlAuthorityBinding.cs
- TextEditorLists.cs
- WebPartActionVerb.cs
- ConfigurationManagerInternalFactory.cs
- XmlAttributeAttribute.cs
- TraceProvider.cs
- WebPartExportVerb.cs
- SystemIPGlobalProperties.cs
- Rotation3D.cs
- Empty.cs
- ComplexTypeEmitter.cs
- Attribute.cs
- ConvertTextFrag.cs
- FilteredXmlReader.cs
- DesignTimeTemplateParser.cs
- ThicknessKeyFrameCollection.cs
- _NativeSSPI.cs
- IgnoreSection.cs
- PermissionToken.cs
- EnumConverter.cs
- BitmapImage.cs
- HtmlTextArea.cs
- ClientSettingsProvider.cs
- wgx_exports.cs
- URIFormatException.cs
- CodeConditionStatement.cs
- GridViewAutoFormat.cs
- ContentIterators.cs
- InvokeBinder.cs
- HttpServerVarsCollection.cs
- SocketAddress.cs
- SqlCommandBuilder.cs
- TextServicesCompartmentContext.cs
- Clock.cs
- EntityCommand.cs
- SecureConversationDriver.cs
- Exception.cs
- StringCollection.cs
- LinkLabel.cs
- Separator.cs
- WeakReadOnlyCollection.cs
- CorrelationHandle.cs
- DesignerListAdapter.cs
- HttpTransportManager.cs
- OperationAbortedException.cs
- SelectionEditingBehavior.cs
- AddIn.cs
- NotFiniteNumberException.cs