Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / FillRuleValidation.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DeclarativeCatalogPartDesigner.cs
- CallId.cs
- Line.cs
- ToolStripItemImageRenderEventArgs.cs
- DelegateSerializationHolder.cs
- ProtocolsConfigurationHandler.cs
- EventLogPermissionEntryCollection.cs
- Pair.cs
- Int16.cs
- UndoManager.cs
- ScriptResourceInfo.cs
- SystemUdpStatistics.cs
- SqlCaseSimplifier.cs
- HwndKeyboardInputProvider.cs
- XmlDataSourceNodeDescriptor.cs
- IgnoreFileBuildProvider.cs
- Trace.cs
- MergeFilterQuery.cs
- XmlTypeAttribute.cs
- AnimationClockResource.cs
- WebConfigurationHost.cs
- SecurityStandardsManager.cs
- FileDetails.cs
- ClientApiGenerator.cs
- GrammarBuilderWildcard.cs
- EmptyEnumerator.cs
- IDataContractSurrogate.cs
- HitTestWithPointDrawingContextWalker.cs
- CodeDomSerializerBase.cs
- ErrorView.xaml.cs
- Help.cs
- printdlgexmarshaler.cs
- MessageBox.cs
- XamlStyleSerializer.cs
- Scheduler.cs
- _NestedMultipleAsyncResult.cs
- TableCell.cs
- TableRowGroup.cs
- QilExpression.cs
- Attributes.cs
- invalidudtexception.cs
- AutoResetEvent.cs
- AxisAngleRotation3D.cs
- Classification.cs
- XsdCachingReader.cs
- RenderOptions.cs
- EntityObject.cs
- CatalogPartChrome.cs
- XmlDocumentType.cs
- SqlBuilder.cs
- RectangleConverter.cs
- WeakRefEnumerator.cs
- IProvider.cs
- XmlHierarchicalEnumerable.cs
- TextContainerChangeEventArgs.cs
- MulticastNotSupportedException.cs
- DataGridViewTextBoxCell.cs
- Messages.cs
- NavigationPropertyEmitter.cs
- Geometry3D.cs
- xdrvalidator.cs
- datacache.cs
- Instrumentation.cs
- IndicShape.cs
- RegexCompilationInfo.cs
- UpDownEvent.cs
- Camera.cs
- TextEndOfLine.cs
- QueryResults.cs
- PersonalizationStateQuery.cs
- SimpleWebHandlerParser.cs
- WindowsGrip.cs
- WebPartZone.cs
- EmulateRecognizeCompletedEventArgs.cs
- Serializer.cs
- DataControlPagerLinkButton.cs
- DialogResultConverter.cs
- InternalDispatchObject.cs
- X509ServiceCertificateAuthentication.cs
- InProcStateClientManager.cs
- XmlAttributeCollection.cs
- SecurityState.cs
- InfoCardKeyedHashAlgorithm.cs
- FilteredXmlReader.cs
- ObjectDataSourceView.cs
- ParameterDataSourceExpression.cs
- SimpleNameService.cs
- XmlJsonWriter.cs
- SafeCryptHandles.cs
- PageAsyncTaskManager.cs
- SqlAggregateChecker.cs
- InvokeHandlers.cs
- DynamicILGenerator.cs
- StatusBarPanelClickEvent.cs
- DropDownList.cs
- SecurityTokenTypes.cs
- ControlUtil.cs
- RequestDescription.cs
- DesignerRegionMouseEventArgs.cs
- JoinTreeNode.cs