Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Shared / MS / Internal / Generated / PenLineJoinValidation.cs / 1 / PenLineJoinValidation.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 IsPenLineJoinValid(object valueObject) { PenLineJoin value = (PenLineJoin) valueObject; return (value == PenLineJoin.Miter) || (value == PenLineJoin.Bevel) || (value == PenLineJoin.Round); } } } // 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 IsPenLineJoinValid(object valueObject) { PenLineJoin value = (PenLineJoin) valueObject; return (value == PenLineJoin.Miter) || (value == PenLineJoin.Bevel) || (value == PenLineJoin.Round); } } } // 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
- ZoneLinkButton.cs
- Compilation.cs
- DragEvent.cs
- EmbeddedObject.cs
- __ConsoleStream.cs
- XomlCompilerResults.cs
- MetadataCache.cs
- SQLRoleProvider.cs
- ByteArrayHelperWithString.cs
- _NestedMultipleAsyncResult.cs
- GiveFeedbackEvent.cs
- EmptyEnumerator.cs
- EntityDataReader.cs
- EntitySet.cs
- SessionStateItemCollection.cs
- COM2FontConverter.cs
- ProfilePropertySettings.cs
- ParenthesizePropertyNameAttribute.cs
- LineProperties.cs
- DescendantBaseQuery.cs
- SchemaCollectionPreprocessor.cs
- InputMethodStateChangeEventArgs.cs
- PrincipalPermission.cs
- BasicExpandProvider.cs
- EmbeddedMailObjectCollectionEditor.cs
- DynamicActionMessageFilter.cs
- codemethodreferenceexpression.cs
- TransformGroup.cs
- propertyentry.cs
- SoapParser.cs
- IDReferencePropertyAttribute.cs
- RequestResponse.cs
- BamlLocalizableResourceKey.cs
- PseudoWebRequest.cs
- Range.cs
- PeerInputChannelListener.cs
- ListInitExpression.cs
- SiteMapDataSource.cs
- JpegBitmapDecoder.cs
- DataSourceXmlSerializer.cs
- RuntimeHelpers.cs
- COM2AboutBoxPropertyDescriptor.cs
- TableDetailsCollection.cs
- WebServiceMethodData.cs
- CodeTypeDeclarationCollection.cs
- ContentDefinition.cs
- FloaterBaseParaClient.cs
- TabItem.cs
- CompilerError.cs
- HttpsTransportElement.cs
- QilSortKey.cs
- DefaultPrintController.cs
- ImpersonationContext.cs
- Int64KeyFrameCollection.cs
- FontStyles.cs
- SessionStateModule.cs
- InkPresenter.cs
- NetworkAddressChange.cs
- CustomGrammar.cs
- CounterCreationDataCollection.cs
- ButtonPopupAdapter.cs
- ListView.cs
- XomlDesignerLoader.cs
- DispatcherSynchronizationContext.cs
- NameValueConfigurationCollection.cs
- Light.cs
- DefaultWorkflowTransactionService.cs
- Operand.cs
- Keyboard.cs
- GridToolTip.cs
- ProcessHostFactoryHelper.cs
- PerformanceCounterManager.cs
- UInt64Converter.cs
- XmlElementList.cs
- HeaderLabel.cs
- StylusButtonCollection.cs
- SystemEvents.cs
- DefaultBindingPropertyAttribute.cs
- NullReferenceException.cs
- ItemCollection.cs
- RealProxy.cs
- PublisherIdentityPermission.cs
- MethodCallConverter.cs
- VisualState.cs
- ping.cs
- ManifestSignedXml.cs
- AliasExpr.cs
- ObjectDataSourceStatusEventArgs.cs
- TitleStyle.cs
- Semaphore.cs
- GlobalItem.cs
- Span.cs
- panel.cs
- ExpandCollapsePattern.cs
- ProfileModule.cs
- PropertyTabAttribute.cs
- ValueOfAction.cs
- HijriCalendar.cs
- AutoResetEvent.cs
- SemanticBasicElement.cs