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
- InternalCache.cs
- MessageQueueEnumerator.cs
- PathGeometry.cs
- SqlInternalConnection.cs
- RadioButton.cs
- OpenTypeCommon.cs
- MergablePropertyAttribute.cs
- HttpDictionary.cs
- WindowsRichEditRange.cs
- TextAutomationPeer.cs
- BindingOperations.cs
- AuthorizationSection.cs
- Queue.cs
- Storyboard.cs
- regiisutil.cs
- BinHexDecoder.cs
- NetCodeGroup.cs
- DrawingContext.cs
- TreeIterators.cs
- IntegerValidatorAttribute.cs
- MDIWindowDialog.cs
- UriWriter.cs
- WindowsFormsSynchronizationContext.cs
- ClientUriBehavior.cs
- CacheOutputQuery.cs
- XmlDataSource.cs
- SqlProfileProvider.cs
- WinFormsComponentEditor.cs
- PictureBox.cs
- AdRotator.cs
- AutomationElementIdentifiers.cs
- COM2ColorConverter.cs
- XmlQualifiedName.cs
- ResXResourceReader.cs
- PagerSettings.cs
- CLSCompliantAttribute.cs
- DrawingContextWalker.cs
- CommandConverter.cs
- Parser.cs
- Window.cs
- SettingsProperty.cs
- OperandQuery.cs
- XmlDataSourceView.cs
- ResourceDescriptionAttribute.cs
- MappingMetadataHelper.cs
- TargetControlTypeAttribute.cs
- MessageBox.cs
- Visual3DCollection.cs
- XmlSchemaElement.cs
- PropertyTab.cs
- SafeArrayRankMismatchException.cs
- X509ChainPolicy.cs
- InlineUIContainer.cs
- FileClassifier.cs
- EnumValidator.cs
- TreeBuilderBamlTranslator.cs
- SecurityState.cs
- SqlDataSourceStatusEventArgs.cs
- HostedTransportConfigurationBase.cs
- CalendarDesigner.cs
- DetailsViewModeEventArgs.cs
- SystemResourceHost.cs
- InvalidChannelBindingException.cs
- MetadataItem_Static.cs
- BaseTemplateBuildProvider.cs
- InternalConfigRoot.cs
- MessageQueuePermissionAttribute.cs
- EventEntry.cs
- UnitySerializationHolder.cs
- CalendarTable.cs
- LabelEditEvent.cs
- PageWrapper.cs
- FileRecordSequence.cs
- Convert.cs
- Point3DValueSerializer.cs
- ScrollableControlDesigner.cs
- MemoryMappedFileSecurity.cs
- StaticDataManager.cs
- HTMLTagNameToTypeMapper.cs
- SqlCharStream.cs
- RegexStringValidatorAttribute.cs
- DynamicRendererThreadManager.cs
- BaseParaClient.cs
- DbMetaDataFactory.cs
- HttpListenerResponse.cs
- DataBindingExpressionBuilder.cs
- SafeCertificateStore.cs
- XmlCharCheckingWriter.cs
- SmiMetaDataProperty.cs
- PathFigureCollection.cs
- MatrixStack.cs
- BindingsCollection.cs
- DataGridSortCommandEventArgs.cs
- WebException.cs
- DesignerValidationSummaryAdapter.cs
- DictionaryManager.cs
- Application.cs
- InputBindingCollection.cs
- BitmapEffectInput.cs
- ParameterDataSourceExpression.cs