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
- HelloOperation11AsyncResult.cs
- StoreAnnotationsMap.cs
- MenuItemCollection.cs
- SystemSounds.cs
- EditBehavior.cs
- ExitEventArgs.cs
- TreeView.cs
- FilteredAttributeCollection.cs
- HwndAppCommandInputProvider.cs
- HashMembershipCondition.cs
- PersonalizationState.cs
- WorkflowDesignerMessageFilter.cs
- WindowsIPAddress.cs
- DataServiceRequestArgs.cs
- JpegBitmapDecoder.cs
- CompilerCollection.cs
- WindowsTokenRoleProvider.cs
- XmlReflectionMember.cs
- CollectionConverter.cs
- Debug.cs
- ZipIOExtraFieldElement.cs
- UserNameSecurityTokenProvider.cs
- LinkLabelLinkClickedEvent.cs
- CollectionBuilder.cs
- TableChangeProcessor.cs
- MarkupObject.cs
- XmlElementList.cs
- SqlDataReaderSmi.cs
- NullableDecimalSumAggregationOperator.cs
- SortExpressionBuilder.cs
- SystemSounds.cs
- DoubleLink.cs
- BitVector32.cs
- Literal.cs
- XmlObjectSerializerReadContextComplex.cs
- PageAction.cs
- ToolStripHighContrastRenderer.cs
- TypeUtil.cs
- WorkflowInstanceSuspendedRecord.cs
- ObjectListFieldCollection.cs
- TextServicesDisplayAttribute.cs
- MasterPageCodeDomTreeGenerator.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ScrollBarRenderer.cs
- EditingCommands.cs
- InvalidEnumArgumentException.cs
- ObjectConverter.cs
- NumberAction.cs
- SqlClientPermission.cs
- AttributeCollection.cs
- DataGridViewLayoutData.cs
- WebPartTransformerAttribute.cs
- TrackingConditionCollection.cs
- ImpersonationContext.cs
- COAUTHIDENTITY.cs
- BitmapEffectInput.cs
- ClientScriptManager.cs
- ResXResourceWriter.cs
- ContextBase.cs
- SafeRightsManagementPubHandle.cs
- XmlDataSource.cs
- SettingsSection.cs
- CodeDirectionExpression.cs
- TextEditorSelection.cs
- ElementProxy.cs
- BinarySerializer.cs
- ByteKeyFrameCollection.cs
- Queue.cs
- UnmanagedMemoryStream.cs
- XNameConverter.cs
- AddressHeaderCollectionElement.cs
- DataProtection.cs
- Package.cs
- TypedTableGenerator.cs
- SspiWrapper.cs
- ExpressionVisitor.cs
- ImpersonateTokenRef.cs
- LineMetrics.cs
- SqlCommandBuilder.cs
- QilInvokeEarlyBound.cs
- ExportException.cs
- TransformConverter.cs
- Module.cs
- StyleCollection.cs
- SqlDataSourceView.cs
- COM2Properties.cs
- _TLSstream.cs
- SQLUtility.cs
- FacetDescription.cs
- HyperLinkField.cs
- MemberDomainMap.cs
- WorkItem.cs
- SchemaType.cs
- XmlException.cs
- CultureMapper.cs
- NameSpaceExtractor.cs
- CollectionView.cs
- RegisteredDisposeScript.cs
- VideoDrawing.cs
- ClientBuildManagerCallback.cs