Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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 [....]/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
- TracePayload.cs
- DoubleLinkListEnumerator.cs
- WorkingDirectoryEditor.cs
- NoneExcludedImageIndexConverter.cs
- DSACryptoServiceProvider.cs
- SecurityPermission.cs
- RulePatternOps.cs
- Rotation3D.cs
- InstanceLockQueryResult.cs
- TraceContext.cs
- StringExpressionSet.cs
- Message.cs
- ProvidePropertyAttribute.cs
- TabItem.cs
- BitmapEffectDrawingContextState.cs
- UdpTransportBindingElement.cs
- ClickablePoint.cs
- ObjectHelper.cs
- DataView.cs
- PtsHelper.cs
- WinCategoryAttribute.cs
- RefreshEventArgs.cs
- ObjectDataSource.cs
- ConfigXmlReader.cs
- Column.cs
- SchemaTypeEmitter.cs
- BasicViewGenerator.cs
- SafeProcessHandle.cs
- ProgressChangedEventArgs.cs
- TextComposition.cs
- TrackingServices.cs
- MemberInfoSerializationHolder.cs
- StructureChangedEventArgs.cs
- Pair.cs
- TextPointerBase.cs
- CaseInsensitiveHashCodeProvider.cs
- DataGridViewCellValidatingEventArgs.cs
- LogExtent.cs
- Form.cs
- MenuItemAutomationPeer.cs
- XmlSchemaException.cs
- RewritingValidator.cs
- keycontainerpermission.cs
- OracleCommandSet.cs
- DesignerDataTableBase.cs
- XmlFileEditor.cs
- Soap.cs
- ObjectResult.cs
- SymbolTable.cs
- SqlClientWrapperSmiStream.cs
- OLEDB_Util.cs
- FileClassifier.cs
- BindingContext.cs
- CornerRadiusConverter.cs
- HwndSubclass.cs
- streamingZipPartStream.cs
- WebServiceErrorEvent.cs
- GridViewUpdateEventArgs.cs
- MobileRedirect.cs
- CharUnicodeInfo.cs
- PtsCache.cs
- DelegateHelpers.cs
- DefaultPrintController.cs
- CommandEventArgs.cs
- CharConverter.cs
- WmlLabelAdapter.cs
- Rect3D.cs
- ExpressionContext.cs
- MembershipValidatePasswordEventArgs.cs
- DoubleKeyFrameCollection.cs
- ColorBuilder.cs
- XmlAtomicValue.cs
- VectorValueSerializer.cs
- _AuthenticationState.cs
- ProcessHostConfigUtils.cs
- DiscreteKeyFrames.cs
- ScopedKnownTypes.cs
- PageSettings.cs
- MatrixCamera.cs
- WindowsContainer.cs
- SendReply.cs
- ResourceAttributes.cs
- TextRangeAdaptor.cs
- StreamingContext.cs
- DiscoveryClientChannelBase.cs
- Accessible.cs
- SqlTypeSystemProvider.cs
- DataGridViewLinkCell.cs
- _SslStream.cs
- SortDescriptionCollection.cs
- MeasureItemEvent.cs
- TraceLevelStore.cs
- SoapTransportImporter.cs
- ArithmeticException.cs
- FixedDocumentPaginator.cs
- thaishape.cs
- NegatedCellConstant.cs
- CodeMemberEvent.cs
- sqlstateclientmanager.cs
- DataGridViewCellEventArgs.cs