Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / PenLineJoinValidation.cs / 1305600 / 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
- WindowsServiceCredential.cs
- ObfuscationAttribute.cs
- StateWorkerRequest.cs
- OpCodes.cs
- PieceDirectory.cs
- MarkupObject.cs
- SuppressMergeCheckAttribute.cs
- FieldTemplateUserControl.cs
- TripleDESCryptoServiceProvider.cs
- StackBuilderSink.cs
- ImageListUtils.cs
- DbParameterCollectionHelper.cs
- XmlDictionaryReader.cs
- SoundPlayer.cs
- UnsafeNativeMethodsCLR.cs
- XmlAnyAttributeAttribute.cs
- Decoder.cs
- Utils.cs
- NavigatingCancelEventArgs.cs
- SqlBinder.cs
- AutomationElement.cs
- HttpClientChannel.cs
- ManualResetEvent.cs
- QueryComponents.cs
- XmlSchemaSequence.cs
- FrameSecurityDescriptor.cs
- DbParameterCollectionHelper.cs
- CacheMemory.cs
- WebColorConverter.cs
- ListBase.cs
- ACE.cs
- HighlightVisual.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- BamlLocalizationDictionary.cs
- CodeCatchClause.cs
- DataServiceRequestOfT.cs
- DBNull.cs
- RoleManagerSection.cs
- PropertyMappingExceptionEventArgs.cs
- ChtmlSelectionListAdapter.cs
- BitmapVisualManager.cs
- FaultPropagationQuery.cs
- NumberFormatInfo.cs
- DataGridViewCellEventArgs.cs
- SyndicationDeserializer.cs
- PropertyChangedEventManager.cs
- LineVisual.cs
- SqlServer2KCompatibilityCheck.cs
- _NtlmClient.cs
- EntityDataSourceContainerNameItem.cs
- MethodAccessException.cs
- MessageQueue.cs
- TaiwanCalendar.cs
- CodeSnippetStatement.cs
- DataBoundControl.cs
- NetworkCredential.cs
- NullableDoubleMinMaxAggregationOperator.cs
- PackWebRequest.cs
- PropertyTab.cs
- TextTreeNode.cs
- CreateUserWizard.cs
- PassportAuthenticationEventArgs.cs
- HelpProvider.cs
- XamlTypeMapper.cs
- TaskCanceledException.cs
- XmlBindingWorker.cs
- TaskbarItemInfo.cs
- UrlParameterWriter.cs
- TreeViewImageKeyConverter.cs
- XmlBinaryReader.cs
- Choices.cs
- LongMinMaxAggregationOperator.cs
- Converter.cs
- WindowsTokenRoleProvider.cs
- DefaultClaimSet.cs
- MiniParameterInfo.cs
- SecurityTokenException.cs
- NameValueFileSectionHandler.cs
- TreeNodeBindingCollection.cs
- AssemblyCache.cs
- FloaterParaClient.cs
- TableColumn.cs
- AsyncPostBackErrorEventArgs.cs
- DictionaryBase.cs
- ProxyManager.cs
- BitmapSource.cs
- FontDriver.cs
- ReadOnlyHierarchicalDataSourceView.cs
- EmissiveMaterial.cs
- BaseResourcesBuildProvider.cs
- ClientSettings.cs
- MappedMetaModel.cs
- Rfc2898DeriveBytes.cs
- SignedXmlDebugLog.cs
- TextSpan.cs
- UpdatePanelTrigger.cs
- DbReferenceCollection.cs
- ItemsControlAutomationPeer.cs
- DocobjHost.cs
- ScrollBar.cs