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
- ErrorWebPart.cs
- HttpCacheVary.cs
- TextProviderWrapper.cs
- BitmapPalette.cs
- TileBrush.cs
- VisualBasicReference.cs
- UnsafeNativeMethods.cs
- HandoffBehavior.cs
- ServiceBuildProvider.cs
- FileUpload.cs
- FloaterBaseParaClient.cs
- ListBindingConverter.cs
- WsiProfilesElementCollection.cs
- GraphicsPath.cs
- ActivityPreviewDesigner.cs
- ExecutionEngineException.cs
- TemplateContentLoader.cs
- DesignTimeVisibleAttribute.cs
- DesignerVerbCollection.cs
- ObjectConverter.cs
- NeedSkipTokenVisitor.cs
- PeerObject.cs
- Compiler.cs
- UnderstoodHeaders.cs
- QueryOperatorEnumerator.cs
- HtmlWindowCollection.cs
- GenerateTemporaryTargetAssembly.cs
- SoapConverter.cs
- SchemaCollectionCompiler.cs
- Maps.cs
- ItemTypeToolStripMenuItem.cs
- CompensatableSequenceActivity.cs
- RepeaterItemCollection.cs
- BooleanExpr.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DbParameterCollectionHelper.cs
- ToolStripContentPanel.cs
- coordinatorfactory.cs
- ProgressiveCrcCalculatingStream.cs
- FullTextBreakpoint.cs
- AppDomainManager.cs
- SoapCodeExporter.cs
- ReferencedAssembly.cs
- WebSysDefaultValueAttribute.cs
- NativeMethods.cs
- ContainerParagraph.cs
- SqlNotificationEventArgs.cs
- ToolStrip.cs
- FixedPageProcessor.cs
- XmlSchemaParticle.cs
- VirtualStackFrame.cs
- ImageKeyConverter.cs
- HttpRequestCacheValidator.cs
- MessageParameterAttribute.cs
- File.cs
- TdsEnums.cs
- ThemeInfoAttribute.cs
- Perspective.cs
- MetadataArtifactLoaderComposite.cs
- BooleanProjectedSlot.cs
- MimeTypeMapper.cs
- Utils.cs
- FormParameter.cs
- Assembly.cs
- XmlNavigatorFilter.cs
- oledbmetadatacolumnnames.cs
- PasswordDeriveBytes.cs
- URLAttribute.cs
- Size3D.cs
- SmtpDigestAuthenticationModule.cs
- HybridCollection.cs
- RestClientProxyHandler.cs
- OrthographicCamera.cs
- ParserOptions.cs
- CodeAssignStatement.cs
- PageScaling.cs
- RadioButton.cs
- PrintPreviewGraphics.cs
- Rectangle.cs
- FileDialogCustomPlacesCollection.cs
- Control.cs
- HelloOperationCD1AsyncResult.cs
- SqlUnionizer.cs
- WebPartConnectionsDisconnectVerb.cs
- ChangePassword.cs
- WebResponse.cs
- FillErrorEventArgs.cs
- formatter.cs
- ListBoxItemWrapperAutomationPeer.cs
- AuthenticatedStream.cs
- PeerToPeerException.cs
- PropertyToken.cs
- ToolboxService.cs
- ResourceAssociationSet.cs
- ReadOnlyState.cs
- PersonalizationAdministration.cs
- InputScope.cs
- AccessText.cs
- XhtmlBasicValidationSummaryAdapter.cs
- _NegoState.cs