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
- ConfigXmlText.cs
- OleDbTransaction.cs
- PointHitTestResult.cs
- PopupEventArgs.cs
- Roles.cs
- MailFileEditor.cs
- RefType.cs
- DesignerActionPropertyItem.cs
- DesignerTextBoxAdapter.cs
- PublisherIdentityPermission.cs
- PersistenceException.cs
- NameSpaceExtractor.cs
- BitVector32.cs
- RepeatBehaviorConverter.cs
- InputMethodStateTypeInfo.cs
- NativeMethods.cs
- OracleCommandSet.cs
- DictionaryBase.cs
- COM2ComponentEditor.cs
- WhiteSpaceTrimStringConverter.cs
- GridViewCommandEventArgs.cs
- ConfigXmlSignificantWhitespace.cs
- Logging.cs
- PeerResolverSettings.cs
- DeflateStream.cs
- BrowsableAttribute.cs
- UnsafeNativeMethods.cs
- TokenCreationParameter.cs
- SourceLocation.cs
- peernodeimplementation.cs
- datacache.cs
- AsyncResult.cs
- SerializationSectionGroup.cs
- StringKeyFrameCollection.cs
- DisposableCollectionWrapper.cs
- SQLMoneyStorage.cs
- LayoutInformation.cs
- InternalMappingException.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- XmlEventCache.cs
- ProjectionCamera.cs
- SendMailErrorEventArgs.cs
- TdsRecordBufferSetter.cs
- UnknownBitmapDecoder.cs
- XmlSchemaSimpleTypeList.cs
- HttpResponseBase.cs
- StreamResourceInfo.cs
- DataGridItemEventArgs.cs
- ValidationErrorEventArgs.cs
- ServiceHttpModule.cs
- NativeMethods.cs
- ToolStripItemImageRenderEventArgs.cs
- CleanUpVirtualizedItemEventArgs.cs
- WebPartChrome.cs
- LingerOption.cs
- FormViewDeleteEventArgs.cs
- NGCPageContentSerializerAsync.cs
- VarRefManager.cs
- MeasureData.cs
- DataGridSortCommandEventArgs.cs
- HelloOperation11AsyncResult.cs
- WebPartConnectionsConfigureVerb.cs
- ChannelManagerHelpers.cs
- CellIdBoolean.cs
- MergeFilterQuery.cs
- BrowserTree.cs
- PersonalizationState.cs
- MissingMemberException.cs
- COM2FontConverter.cs
- ObjectQuery_EntitySqlExtensions.cs
- CompilationLock.cs
- ReaderWriterLockSlim.cs
- TableRow.cs
- MinimizableAttributeTypeConverter.cs
- BigInt.cs
- ExtendedProtectionPolicyTypeConverter.cs
- ScrollBarAutomationPeer.cs
- PhysicalAddress.cs
- RawStylusSystemGestureInputReport.cs
- EntityDataSourceView.cs
- SqlCacheDependencyDatabase.cs
- ChtmlTextWriter.cs
- EmptyElement.cs
- CFStream.cs
- XmlHierarchicalEnumerable.cs
- PackageRelationship.cs
- AbstractExpressions.cs
- SafeNativeMethods.cs
- HealthMonitoringSection.cs
- GestureRecognizer.cs
- CodeAssignStatement.cs
- ExpressionValueEditor.cs
- SubclassTypeValidator.cs
- DataSourceControl.cs
- HMACSHA384.cs
- ClaimTypes.cs
- TraceSource.cs
- wmiutil.cs
- ViewStateException.cs
- CodeGenHelper.cs