Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- RemoteWebConfigurationHostStream.cs
- DataAdapter.cs
- FlowLayoutPanelDesigner.cs
- _HTTPDateParse.cs
- MarkupProperty.cs
- StringAnimationBase.cs
- JournalEntryListConverter.cs
- IDispatchConstantAttribute.cs
- DataReceivedEventArgs.cs
- GradientStopCollection.cs
- PrePrepareMethodAttribute.cs
- COMException.cs
- XmlLanguage.cs
- LabelAutomationPeer.cs
- ExecutedRoutedEventArgs.cs
- Logging.cs
- ClrPerspective.cs
- StreamInfo.cs
- Span.cs
- LayoutEditorPart.cs
- SmtpCommands.cs
- MenuCommandsChangedEventArgs.cs
- GlyphTypeface.cs
- EditorPartChrome.cs
- MarkupExtensionReturnTypeAttribute.cs
- EnumBuilder.cs
- XPathNavigatorKeyComparer.cs
- HtmlElementErrorEventArgs.cs
- LabelDesigner.cs
- DecodeHelper.cs
- RowToParametersTransformer.cs
- CheckBox.cs
- ReadOnlyDictionary.cs
- DownloadProgressEventArgs.cs
- ObjectQueryExecutionPlan.cs
- StickyNoteHelper.cs
- FunctionQuery.cs
- ApplicationFileCodeDomTreeGenerator.cs
- UnsafeNativeMethodsPenimc.cs
- Cursor.cs
- SQLBytes.cs
- PrePostDescendentsWalker.cs
- WindowHideOrCloseTracker.cs
- MenuItemCollection.cs
- updatecommandorderer.cs
- CompilationLock.cs
- PatternMatchRules.cs
- AttributeInfo.cs
- PropertyCondition.cs
- ArrayMergeHelper.cs
- UniformGrid.cs
- DataGridViewDataErrorEventArgs.cs
- TextEvent.cs
- TypeSource.cs
- XAMLParseException.cs
- SqlDataSourceCache.cs
- CalloutQueueItem.cs
- HashJoinQueryOperatorEnumerator.cs
- SiteOfOriginContainer.cs
- DragDrop.cs
- WebControlsSection.cs
- SrgsDocumentParser.cs
- IdentitySection.cs
- WebPartCloseVerb.cs
- ServiceInfo.cs
- ComboBoxRenderer.cs
- PerformanceCounterCategory.cs
- GeometryModel3D.cs
- SemanticAnalyzer.cs
- SafeNativeMethods.cs
- PartialCachingControl.cs
- XmlSchema.cs
- CharEnumerator.cs
- TypeConverters.cs
- FindCriteria.cs
- SecurityUtils.cs
- OverrideMode.cs
- QueryAsyncResult.cs
- HtmlInputButton.cs
- PolygonHotSpot.cs
- AttachedAnnotation.cs
- DbInsertCommandTree.cs
- Soap12FormatExtensions.cs
- SecurityProtocolCorrelationState.cs
- Rotation3DKeyFrameCollection.cs
- newitemfactory.cs
- ValueQuery.cs
- StorageEntitySetMapping.cs
- WhitespaceRuleLookup.cs
- WriteTimeStream.cs
- GridErrorDlg.cs
- diagnosticsswitches.cs
- Matrix3DStack.cs
- HandledMouseEvent.cs
- FocusTracker.cs
- Point3DAnimationBase.cs
- StateItem.cs
- sqlinternaltransaction.cs
- DummyDataSource.cs
- TimeSpanStorage.cs