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
- RegexStringValidator.cs
- MsmqIntegrationBinding.cs
- MonikerBuilder.cs
- PerformanceCounter.cs
- TransformerTypeCollection.cs
- ResourcesGenerator.cs
- DataObjectFieldAttribute.cs
- SourceLineInfo.cs
- WindowsListViewGroupHelper.cs
- ServiceObjectContainer.cs
- SolidBrush.cs
- DeclarativeExpressionConditionDeclaration.cs
- ImageButton.cs
- ListBox.cs
- SafeNativeMethods.cs
- DbConnectionPoolGroupProviderInfo.cs
- Comparer.cs
- EdmComplexTypeAttribute.cs
- FtpWebResponse.cs
- RemotingSurrogateSelector.cs
- Trace.cs
- PackWebRequest.cs
- XPathQilFactory.cs
- WaitHandle.cs
- ForwardPositionQuery.cs
- ConfigUtil.cs
- XmlSchemaAppInfo.cs
- UIHelper.cs
- HijriCalendar.cs
- HtmlSelect.cs
- AdjustableArrowCap.cs
- XmlCollation.cs
- TreeViewImageKeyConverter.cs
- FloaterParaClient.cs
- XPathAxisIterator.cs
- Vector3DCollection.cs
- UrlUtility.cs
- RegexInterpreter.cs
- BypassElement.cs
- HttpRuntimeSection.cs
- CollectionExtensions.cs
- SchemaImporter.cs
- WS2007HttpBindingCollectionElement.cs
- DataGridHelper.cs
- HtmlImage.cs
- GridViewDeletedEventArgs.cs
- SizeF.cs
- QilInvoke.cs
- SurrogateEncoder.cs
- ReceiveMessageRecord.cs
- DynamicValueConverter.cs
- DataBoundControl.cs
- ExtendedPropertyCollection.cs
- input.cs
- GB18030Encoding.cs
- DictionaryEntry.cs
- updateconfighost.cs
- Trace.cs
- ExpressionBuilderCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- ExpressionBuilder.cs
- ControlBindingsCollection.cs
- Tokenizer.cs
- XmlSchemaGroup.cs
- PersonalizationEntry.cs
- HtmlForm.cs
- DataConnectionHelper.cs
- ConfigurationLockCollection.cs
- EventLogTraceListener.cs
- SecurityState.cs
- Literal.cs
- StorageEntityTypeMapping.cs
- CornerRadius.cs
- XmlUtil.cs
- XmlSchemaComplexContentExtension.cs
- SecurityPermission.cs
- ObjectComplexPropertyMapping.cs
- XLinq.cs
- EnumUnknown.cs
- TextDecoration.cs
- AppSettingsReader.cs
- MailMessageEventArgs.cs
- OdbcTransaction.cs
- ItemsControlAutomationPeer.cs
- RecommendedAsConfigurableAttribute.cs
- COM2ComponentEditor.cs
- FormClosedEvent.cs
- AdornedElementPlaceholder.cs
- controlskin.cs
- SingleQueryOperator.cs
- PointCollectionValueSerializer.cs
- SqlErrorCollection.cs
- CharEntityEncoderFallback.cs
- UriScheme.cs
- HttpStreamXmlDictionaryReader.cs
- IriParsingElement.cs
- CatalogZone.cs
- ProviderSettingsCollection.cs
- DocumentViewerHelper.cs
- CommandID.cs