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
- RolePrincipal.cs
- OleDbError.cs
- DictionaryBase.cs
- XmlDataLoader.cs
- PreviewKeyDownEventArgs.cs
- WebPartConnectionsDisconnectVerb.cs
- UnicodeEncoding.cs
- localization.cs
- KeyTimeConverter.cs
- XamlTreeBuilder.cs
- FileUtil.cs
- CounterSample.cs
- _NestedMultipleAsyncResult.cs
- Compiler.cs
- PageBreakRecord.cs
- ResourceExpression.cs
- EncryptedKeyIdentifierClause.cs
- UriWriter.cs
- ConfigurationCollectionAttribute.cs
- IpcPort.cs
- TreeIterator.cs
- SizeConverter.cs
- MexNamedPipeBindingElement.cs
- LinqDataSourceHelper.cs
- PseudoWebRequest.cs
- QueryStringParameter.cs
- RectangleConverter.cs
- XmlEncoding.cs
- MissingSatelliteAssemblyException.cs
- IsolatedStorageException.cs
- Pen.cs
- ModuleConfigurationInfo.cs
- PropertyInformation.cs
- UIElementParagraph.cs
- OleDbStruct.cs
- DetailsViewPageEventArgs.cs
- ComboBox.cs
- IConvertible.cs
- MethodCallConverter.cs
- WindowsAltTab.cs
- ObjectTag.cs
- COM2Enum.cs
- RegexGroupCollection.cs
- PairComparer.cs
- TextTrailingWordEllipsis.cs
- CodeAssignStatement.cs
- Image.cs
- PermissionToken.cs
- DataBinding.cs
- StrongNameKeyPair.cs
- ParserExtension.cs
- Int32Rect.cs
- TreeViewImageIndexConverter.cs
- WebPartVerbCollection.cs
- ReferencedAssembly.cs
- FocusWithinProperty.cs
- Context.cs
- X509Certificate2Collection.cs
- FixedSOMContainer.cs
- ArrayList.cs
- ImageDrawing.cs
- TextSerializer.cs
- ScalarType.cs
- ProcessThread.cs
- DynamicValidator.cs
- HostedNamedPipeTransportManager.cs
- RowUpdatingEventArgs.cs
- GraphicsPathIterator.cs
- XmlSchemaResource.cs
- RawUIStateInputReport.cs
- SchemaElementLookUpTable.cs
- ScrollBarRenderer.cs
- OleDbCommand.cs
- OleDbFactory.cs
- DataSvcMapFileSerializer.cs
- SingleAnimationBase.cs
- DoubleCollectionConverter.cs
- ModuleBuilder.cs
- XPathNodeIterator.cs
- EdmPropertyAttribute.cs
- _ShellExpression.cs
- RemoteTokenFactory.cs
- Propagator.cs
- URIFormatException.cs
- CompositionTarget.cs
- OneWayBindingElement.cs
- OracleParameter.cs
- JoinTreeSlot.cs
- InputScope.cs
- BamlResourceSerializer.cs
- Calendar.cs
- WebZone.cs
- SoapSchemaExporter.cs
- ActivityCollectionMarkupSerializer.cs
- oledbmetadatacolumnnames.cs
- SqlBooleanizer.cs
- FullTextBreakpoint.cs
- TransformerConfigurationWizardBase.cs
- SoapMessage.cs
- DataObjectSettingDataEventArgs.cs