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
- CodeMemberProperty.cs
- TreeNodeBindingCollection.cs
- SelectionEditor.cs
- StreamMarshaler.cs
- SqlMethodAttribute.cs
- AstTree.cs
- EditorAttributeInfo.cs
- DuplicateContext.cs
- FixedTextView.cs
- DockAndAnchorLayout.cs
- HyperLinkStyle.cs
- Solver.cs
- JavascriptCallbackMessageInspector.cs
- HtmlPageAdapter.cs
- SafeProcessHandle.cs
- GenericEnumerator.cs
- XmlSignificantWhitespace.cs
- TransactionFilter.cs
- SafeThreadHandle.cs
- DetailsViewRowCollection.cs
- ControlCollection.cs
- HttpCookieCollection.cs
- VersionPair.cs
- TimeManager.cs
- ProxyDataContractResolver.cs
- EditBehavior.cs
- HandlerElement.cs
- ReachFixedPageSerializer.cs
- KeyValuePair.cs
- XmlSchemaComplexContentExtension.cs
- ClrPerspective.cs
- Object.cs
- TemplatedAdorner.cs
- HwndAppCommandInputProvider.cs
- HtmlMeta.cs
- TextSelectionProcessor.cs
- AnimationTimeline.cs
- AnnouncementEventArgs.cs
- BitConverter.cs
- RadioButton.cs
- ListChangedEventArgs.cs
- ExclusiveHandle.cs
- TargetPerspective.cs
- BaseValidator.cs
- ListViewGroup.cs
- CodeAttributeArgument.cs
- DesignerView.xaml.cs
- BevelBitmapEffect.cs
- SpellerInterop.cs
- LightweightCodeGenerator.cs
- SmuggledIUnknown.cs
- TraceUtility.cs
- XmlNodeWriter.cs
- ServiceOperation.cs
- ElementFactory.cs
- TTSEngineProxy.cs
- TreeNodeCollection.cs
- DigitShape.cs
- ThousandthOfEmRealPoints.cs
- RowUpdatedEventArgs.cs
- ReservationNotFoundException.cs
- QueryContinueDragEventArgs.cs
- DataColumnPropertyDescriptor.cs
- ArrayWithOffset.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- Module.cs
- IPHostEntry.cs
- NetCodeGroup.cs
- BooleanStorage.cs
- ProxyManager.cs
- DataFormat.cs
- PeerCollaboration.cs
- PathTooLongException.cs
- EntityType.cs
- ReflectPropertyDescriptor.cs
- DataGridPagingPage.cs
- InternalsVisibleToAttribute.cs
- InputDevice.cs
- XmlSchemaInclude.cs
- ConfigurationLockCollection.cs
- SessionPageStateSection.cs
- HttpCachePolicy.cs
- HierarchicalDataBoundControl.cs
- VisualStyleElement.cs
- ExceptionHelpers.cs
- StylusTip.cs
- RequestTimeoutManager.cs
- SignatureTargetIdManager.cs
- UserControlCodeDomTreeGenerator.cs
- BoundPropertyEntry.cs
- ArrayWithOffset.cs
- Rectangle.cs
- AnonymousIdentificationModule.cs
- BitmapData.cs
- DefaultHttpHandler.cs
- AttributeParameterInfo.cs
- DataStreamFromComStream.cs
- SubMenuStyleCollection.cs
- InputDevice.cs
- PropertyChangeTracker.cs