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
- SoapHelper.cs
- Helper.cs
- WindowsListViewScroll.cs
- PackageStore.cs
- IPAddressCollection.cs
- UserControl.cs
- AxisAngleRotation3D.cs
- XpsTokenContext.cs
- XmlSerializerOperationGenerator.cs
- DataIdProcessor.cs
- StoreItemCollection.Loader.cs
- WebReferencesBuildProvider.cs
- ListViewContainer.cs
- XmlUtilWriter.cs
- connectionpool.cs
- NotConverter.cs
- EdmConstants.cs
- WebSysDisplayNameAttribute.cs
- JpegBitmapDecoder.cs
- RoutedPropertyChangedEventArgs.cs
- DataGridTableStyleMappingNameEditor.cs
- ModuleConfigurationInfo.cs
- DataGridViewRowPrePaintEventArgs.cs
- Dump.cs
- DataTable.cs
- UseAttributeSetsAction.cs
- DependencyPropertyHelper.cs
- TreeViewCancelEvent.cs
- ArrayExtension.cs
- BinaryUtilClasses.cs
- HostExecutionContextManager.cs
- ToolStripDropDownClosedEventArgs.cs
- DataSpaceManager.cs
- RTTypeWrapper.cs
- WebControlsSection.cs
- SafeEventLogReadHandle.cs
- CombinedTcpChannel.cs
- entitydatasourceentitysetnameconverter.cs
- ToolStripComboBox.cs
- ProgressPage.cs
- WebBrowserProgressChangedEventHandler.cs
- Comparer.cs
- DataBoundControlDesigner.cs
- DbProviderConfigurationHandler.cs
- ResourcePart.cs
- EditorZoneBase.cs
- ReadOnlyAttribute.cs
- CustomErrorsSectionWrapper.cs
- ObjectQueryProvider.cs
- DbConnectionPool.cs
- BamlBinaryWriter.cs
- HttpHandlersInstallComponent.cs
- DropAnimation.xaml.cs
- CodeVariableDeclarationStatement.cs
- XmlSignificantWhitespace.cs
- InstallHelper.cs
- PriorityBinding.cs
- AnimatedTypeHelpers.cs
- CngKeyBlobFormat.cs
- __Filters.cs
- OdbcRowUpdatingEvent.cs
- DocumentOutline.cs
- AuditLog.cs
- NCryptSafeHandles.cs
- SystemIPGlobalStatistics.cs
- SessionEndingCancelEventArgs.cs
- MultipartContentParser.cs
- StylusPointCollection.cs
- CodeArgumentReferenceExpression.cs
- ColorKeyFrameCollection.cs
- BindingMemberInfo.cs
- IDQuery.cs
- ByteRangeDownloader.cs
- RemotingException.cs
- EntityDataSourceContextDisposingEventArgs.cs
- FixedPageAutomationPeer.cs
- ActivityContext.cs
- XPathNavigatorKeyComparer.cs
- EncryptedPackageFilter.cs
- AbstractSvcMapFileLoader.cs
- FileDataSourceCache.cs
- BlurEffect.cs
- TypeExtensionConverter.cs
- StringHandle.cs
- DataColumnMappingCollection.cs
- EmissiveMaterial.cs
- GeneratedContractType.cs
- CodeAccessPermission.cs
- XamlToRtfParser.cs
- QueuePathEditor.cs
- SoapParser.cs
- TcpStreams.cs
- WebScriptMetadataMessageEncoderFactory.cs
- ResXResourceWriter.cs
- RoleService.cs
- UnescapedXmlDiagnosticData.cs
- PackagingUtilities.cs
- MatrixValueSerializer.cs
- SessionStateSection.cs
- designeractionbehavior.cs