Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- HttpModuleAction.cs
- DashStyle.cs
- DataGridItemCollection.cs
- BaseCollection.cs
- TypeSystemHelpers.cs
- _NetRes.cs
- TranslateTransform3D.cs
- PropertyValueChangedEvent.cs
- TreeNodeMouseHoverEvent.cs
- HotSpot.cs
- ErrorFormatterPage.cs
- EndpointAddressAugust2004.cs
- OdbcEnvironment.cs
- UIPermission.cs
- RSAPKCS1SignatureDeformatter.cs
- XmlDesignerDataSourceView.cs
- TextCharacters.cs
- FontSource.cs
- SettingsBase.cs
- HttpListenerPrefixCollection.cs
- DoubleCollectionConverter.cs
- RoutedEvent.cs
- RadioButtonBaseAdapter.cs
- DropTarget.cs
- MetadataArtifactLoader.cs
- OletxCommittableTransaction.cs
- ApplicationInfo.cs
- DataListCommandEventArgs.cs
- RadioButtonFlatAdapter.cs
- LicenseProviderAttribute.cs
- IListConverters.cs
- Frame.cs
- Ref.cs
- SafeFileMapViewHandle.cs
- NotImplementedException.cs
- compensatingcollection.cs
- DoubleCollectionValueSerializer.cs
- HiddenField.cs
- ObjectPersistData.cs
- FixedSOMTextRun.cs
- httpstaticobjectscollection.cs
- BulletedList.cs
- prompt.cs
- Rect.cs
- ByeMessageCD1.cs
- QilList.cs
- Partitioner.cs
- EventToken.cs
- Registry.cs
- TextFindEngine.cs
- TreeNodeCollection.cs
- AssemblyAttributes.cs
- OperationFormatStyle.cs
- DataGridViewButtonColumn.cs
- RegistrySecurity.cs
- UIPropertyMetadata.cs
- TextTreePropertyUndoUnit.cs
- SiteOfOriginContainer.cs
- WeakReferenceList.cs
- GridPatternIdentifiers.cs
- SByte.cs
- RsaEndpointIdentity.cs
- StringWriter.cs
- BuildDependencySet.cs
- PenThreadPool.cs
- WebBrowserNavigatedEventHandler.cs
- DynamicRenderer.cs
- QilIterator.cs
- SByte.cs
- PopupControlService.cs
- MemberInfoSerializationHolder.cs
- ScrollBarRenderer.cs
- MarshalDirectiveException.cs
- WebUtil.cs
- MemberAccessException.cs
- RouteParametersHelper.cs
- MeshGeometry3D.cs
- StorageMappingItemLoader.cs
- EdmRelationshipRoleAttribute.cs
- SqlConnectionStringBuilder.cs
- X509Utils.cs
- TabRenderer.cs
- DeferredElementTreeState.cs
- RequestCacheValidator.cs
- Assembly.cs
- ConfigurationSchemaErrors.cs
- ZipIOExtraFieldZip64Element.cs
- _NegoStream.cs
- MSAAEventDispatcher.cs
- FlowDocumentPaginator.cs
- DbSourceParameterCollection.cs
- SerializationInfoEnumerator.cs
- MediaElement.cs
- DiscreteKeyFrames.cs
- SqlSupersetValidator.cs
- UICuesEvent.cs
- Publisher.cs
- ReflectionHelper.cs
- EdmScalarPropertyAttribute.cs
- SqlClientFactory.cs