Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- FormViewCommandEventArgs.cs
- Perspective.cs
- LongSumAggregationOperator.cs
- OperatingSystem.cs
- HitTestParameters3D.cs
- DataSourceView.cs
- DbConnectionPoolGroupProviderInfo.cs
- CacheAxisQuery.cs
- LoginView.cs
- LocalizableAttribute.cs
- ModelVisual3D.cs
- ChtmlTextWriter.cs
- ResourceExpressionBuilder.cs
- _KerberosClient.cs
- RegexGroupCollection.cs
- CurrencyWrapper.cs
- CellTreeNode.cs
- RefType.cs
- XmlSchemaComplexContentRestriction.cs
- WebPartTransformer.cs
- ToolTipService.cs
- RightsManagementLicense.cs
- StringWriter.cs
- DataStorage.cs
- StringOutput.cs
- XmlCharCheckingWriter.cs
- PreProcessor.cs
- DataStorage.cs
- AutomationPeer.cs
- ComponentCollection.cs
- ValidationSummary.cs
- Policy.cs
- DataServiceContext.cs
- CryptoProvider.cs
- ExtentKey.cs
- DataTableReaderListener.cs
- X509CertificateCollection.cs
- DataGridViewDataConnection.cs
- SqlBuffer.cs
- MessageQueueTransaction.cs
- FtpRequestCacheValidator.cs
- BitmapEffect.cs
- DataTablePropertyDescriptor.cs
- Timer.cs
- CodeComment.cs
- Color.cs
- HMAC.cs
- ChannelServices.cs
- XmlSchemaObjectCollection.cs
- CollectionChangeEventArgs.cs
- PowerEase.cs
- TextTreeFixupNode.cs
- BindingNavigator.cs
- QilUnary.cs
- Drawing.cs
- PermissionRequestEvidence.cs
- PrintPreviewGraphics.cs
- ObjectTokenCategory.cs
- UserPreferenceChangingEventArgs.cs
- MemoryStream.cs
- ThicknessAnimationBase.cs
- Baml2006ReaderSettings.cs
- XmlSchemaAttributeGroup.cs
- WebPartConnectionsCloseVerb.cs
- LoginStatusDesigner.cs
- XmlSchemaType.cs
- TextLineBreak.cs
- ItemList.cs
- SqlDataSourceFilteringEventArgs.cs
- ContractValidationHelper.cs
- MultiTargetingUtil.cs
- JpegBitmapDecoder.cs
- QilIterator.cs
- XhtmlConformanceSection.cs
- Thickness.cs
- DataSvcMapFile.cs
- _NTAuthentication.cs
- CompressEmulationStream.cs
- TypeUsage.cs
- TriState.cs
- SqlUDTStorage.cs
- WinInetCache.cs
- ScriptManagerProxy.cs
- UTF8Encoding.cs
- OdbcConnectionStringbuilder.cs
- ZipIOExtraFieldPaddingElement.cs
- MinimizableAttributeTypeConverter.cs
- RepeatBehavior.cs
- WebEventTraceProvider.cs
- CryptoKeySecurity.cs
- LinqDataSourceView.cs
- PingReply.cs
- X500Name.cs
- ExpressionList.cs
- IntPtr.cs
- DbMetaDataFactory.cs
- InstancePersistenceCommand.cs
- DataKey.cs
- ColorConvertedBitmap.cs
- TraceSection.cs