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
- SoapSchemaExporter.cs
- XmlNamespaceMappingCollection.cs
- BamlRecordWriter.cs
- QilLoop.cs
- PanelDesigner.cs
- LiteralTextParser.cs
- EtwTrace.cs
- ResourcePool.cs
- FixedMaxHeap.cs
- unitconverter.cs
- SplineKeyFrames.cs
- NativeMethods.cs
- __Filters.cs
- SQLDateTime.cs
- ServiceManager.cs
- XmlSchemaGroupRef.cs
- ResourceDictionary.cs
- APCustomTypeDescriptor.cs
- URIFormatException.cs
- TemplateParser.cs
- PermissionToken.cs
- EdmToObjectNamespaceMap.cs
- XPathSelectionIterator.cs
- TreeBuilderXamlTranslator.cs
- MetadataArtifactLoaderCompositeFile.cs
- NegationPusher.cs
- DefaultExpressionVisitor.cs
- AuthenticationService.cs
- UniqueIdentifierService.cs
- SubstitutionDesigner.cs
- PublisherIdentityPermission.cs
- XmlQueryContext.cs
- EmptyStringExpandableObjectConverter.cs
- FrameworkContentElementAutomationPeer.cs
- ExclusiveCanonicalizationTransform.cs
- DataGridViewComboBoxColumn.cs
- SqlAliasesReferenced.cs
- CreateDataSourceDialog.cs
- Group.cs
- Grant.cs
- EndPoint.cs
- DesignTimeParseData.cs
- ConfigXmlWhitespace.cs
- Msec.cs
- ListMarkerSourceInfo.cs
- base64Transforms.cs
- AssemblyBuilder.cs
- SystemIPInterfaceStatistics.cs
- Light.cs
- GacUtil.cs
- BufferBuilder.cs
- TreeNodeBindingDepthConverter.cs
- CredentialCache.cs
- JsonByteArrayDataContract.cs
- DataSourceSelectArguments.cs
- CategoryGridEntry.cs
- JoinElimination.cs
- HMACSHA1.cs
- SecUtil.cs
- xdrvalidator.cs
- TransactionProtocolConverter.cs
- ShaderEffect.cs
- ExtensibleClassFactory.cs
- SolidColorBrush.cs
- StructuredProperty.cs
- DialogResultConverter.cs
- ConvertBinder.cs
- TextEffect.cs
- DragStartedEventArgs.cs
- ManualResetEventSlim.cs
- CheckableControlBaseAdapter.cs
- MergeLocalizationDirectives.cs
- Vector3DCollection.cs
- ControlBuilderAttribute.cs
- Helper.cs
- ListSortDescription.cs
- Input.cs
- ConstraintEnumerator.cs
- LazyTextWriterCreator.cs
- FlowSwitchLink.cs
- EnvironmentPermission.cs
- TypeBuilder.cs
- TypeDelegator.cs
- dataprotectionpermission.cs
- Unit.cs
- DockPattern.cs
- Win32.cs
- SmtpDigestAuthenticationModule.cs
- ListViewDeleteEventArgs.cs
- HttpStreams.cs
- SqlClientWrapperSmiStream.cs
- CodeRemoveEventStatement.cs
- WsdlBuildProvider.cs
- WpfMemberInvoker.cs
- PageBuildProvider.cs
- AppDomainAttributes.cs
- WebDescriptionAttribute.cs
- BezierSegment.cs
- DataGridItemCollection.cs
- listitem.cs