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
- BridgeDataRecord.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- EventLogger.cs
- BlurBitmapEffect.cs
- Version.cs
- DiscoveryInnerClientAdhoc11.cs
- ServiceObjectContainer.cs
- ToolStripPanelRow.cs
- ConnectionManagementElement.cs
- PropertyInformation.cs
- ReflectionUtil.cs
- FieldToken.cs
- RoleManagerEventArgs.cs
- UpdatePanel.cs
- LineMetrics.cs
- SharedConnectionInfo.cs
- MemoryRecordBuffer.cs
- StorageComplexPropertyMapping.cs
- CreatingCookieEventArgs.cs
- UnsafeMethods.cs
- SelectedDatesCollection.cs
- Clock.cs
- PassportPrincipal.cs
- ZipIOBlockManager.cs
- XmlElementList.cs
- CounterSample.cs
- DefaultTextStoreTextComposition.cs
- InvalidComObjectException.cs
- FileEnumerator.cs
- SortedList.cs
- RuleInfoComparer.cs
- SharedHttpTransportManager.cs
- DataBindingHandlerAttribute.cs
- ListBase.cs
- SharedStatics.cs
- RSAOAEPKeyExchangeFormatter.cs
- OdbcException.cs
- ParseChildrenAsPropertiesAttribute.cs
- ProviderConnectionPointCollection.cs
- ResourceExpressionBuilder.cs
- PointAnimation.cs
- Figure.cs
- AlphaSortedEnumConverter.cs
- GcSettings.cs
- Part.cs
- KeyboardDevice.cs
- XmlSchemaParticle.cs
- Perspective.cs
- DocumentSequence.cs
- ContainerControlDesigner.cs
- LinearGradientBrush.cs
- BufferModeSettings.cs
- Pen.cs
- Geometry.cs
- SchemaCompiler.cs
- FamilyCollection.cs
- ControlDesigner.cs
- RefreshPropertiesAttribute.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- DirectoryRedirect.cs
- XmlNodeReader.cs
- HtmlAnchor.cs
- MarkupExtensionParser.cs
- SmtpCommands.cs
- LinqDataSourceContextEventArgs.cs
- TemplateField.cs
- BigInt.cs
- LocalizationComments.cs
- NavigateEvent.cs
- NameHandler.cs
- GiveFeedbackEventArgs.cs
- GeometryModel3D.cs
- SamlAuthenticationStatement.cs
- ColumnBinding.cs
- GraphicsState.cs
- NavigationHelper.cs
- Triplet.cs
- VectorAnimation.cs
- ExpressionWriter.cs
- ColumnHeader.cs
- TdsParser.cs
- ByteStack.cs
- ExternalException.cs
- DataGridViewColumnCollection.cs
- XhtmlBasicPhoneCallAdapter.cs
- RawTextInputReport.cs
- ColorAnimationBase.cs
- WebPartActionVerb.cs
- EdmType.cs
- SoapBinding.cs
- precedingsibling.cs
- RpcCryptoContext.cs
- StandardToolWindows.cs
- WebPartUtil.cs
- IPPacketInformation.cs
- CodeComment.cs
- TypeElementCollection.cs
- SafeNativeMethods.cs
- FormViewInsertedEventArgs.cs
- ClickablePoint.cs