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
- WindowsComboBox.cs
- RectangleConverter.cs
- ValueSerializerAttribute.cs
- Fonts.cs
- UserControlAutomationPeer.cs
- BaseHashHelper.cs
- ConfigurationSectionGroupCollection.cs
- QualifierSet.cs
- PlainXmlDeserializer.cs
- HttpEncoderUtility.cs
- TrackBar.cs
- Buffer.cs
- DBConnectionString.cs
- _OSSOCK.cs
- MimeParameters.cs
- unsafeIndexingFilterStream.cs
- SQlBooleanStorage.cs
- AppDomainResourcePerfCounters.cs
- ThicknessAnimation.cs
- Binding.cs
- GroupQuery.cs
- FocusWithinProperty.cs
- MessageLogTraceRecord.cs
- ChannelTracker.cs
- HiddenField.cs
- SmtpMail.cs
- safemediahandle.cs
- ProcessHostFactoryHelper.cs
- RawStylusActions.cs
- SplashScreenNativeMethods.cs
- DocComment.cs
- xmlfixedPageInfo.cs
- CreateUserWizard.cs
- CodeParameterDeclarationExpression.cs
- MILUtilities.cs
- ServiceEndpoint.cs
- QueryOutputWriter.cs
- JsonStringDataContract.cs
- ConfigurationValidatorBase.cs
- IndexerNameAttribute.cs
- TableCellCollection.cs
- _ShellExpression.cs
- TypeToken.cs
- CodeTypeOfExpression.cs
- GB18030Encoding.cs
- CompositeControlDesigner.cs
- ProcessHostConfigUtils.cs
- KeyPressEvent.cs
- StyleHelper.cs
- SortFieldComparer.cs
- CopyAction.cs
- CapabilitiesAssignment.cs
- InfoCardListRequest.cs
- DataSourceGeneratorException.cs
- GridView.cs
- recordstatescratchpad.cs
- TextRangeBase.cs
- UniqueIdentifierService.cs
- SourceLineInfo.cs
- ListViewTableRow.cs
- HtmlHistory.cs
- SqlDataSourceView.cs
- PostBackTrigger.cs
- CreateUserWizardStep.cs
- ClusterRegistryConfigurationProvider.cs
- SqlSupersetValidator.cs
- PortCache.cs
- XsdBuilder.cs
- SymLanguageVendor.cs
- MetadataWorkspace.cs
- ActivityBindForm.cs
- XmlSchemaException.cs
- DesignOnlyAttribute.cs
- HttpInputStream.cs
- QuaternionAnimation.cs
- HideDisabledControlAdapter.cs
- SQLResource.cs
- CodeValidator.cs
- Image.cs
- ActivityBuilder.cs
- AbsoluteQuery.cs
- XmlWrappingReader.cs
- DispatcherExceptionEventArgs.cs
- DateTimeFormatInfoScanner.cs
- CodePropertyReferenceExpression.cs
- SiteMapProvider.cs
- safemediahandle.cs
- PropertyValue.cs
- HandlerBase.cs
- HostingEnvironmentException.cs
- Expression.cs
- documentsequencetextpointer.cs
- PriorityBinding.cs
- DataGridViewCellStyleConverter.cs
- ProviderSettings.cs
- MetadataStore.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- CharEntityEncoderFallback.cs
- TemplateLookupAction.cs
- SerialReceived.cs