Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SqlCommandSet.cs
- SessionStateUtil.cs
- ReliabilityContractAttribute.cs
- NameTable.cs
- BitmapDownload.cs
- XmlSchemaExporter.cs
- ExceptionHelpers.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DesignerDataConnection.cs
- SqlStatistics.cs
- XmlNode.cs
- InternalConfigRoot.cs
- WrappedIUnknown.cs
- CodeDelegateCreateExpression.cs
- ToolStripLabel.cs
- Action.cs
- FolderLevelBuildProviderCollection.cs
- Point.cs
- EmptyCollection.cs
- DmlSqlGenerator.cs
- Timeline.cs
- WinFormsComponentEditor.cs
- ServiceRoute.cs
- ScrollPatternIdentifiers.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- Context.cs
- XslUrlEditor.cs
- StringDictionary.cs
- AccessDataSourceDesigner.cs
- WebPartConnection.cs
- CodeDefaultValueExpression.cs
- Section.cs
- OdbcConnection.cs
- IgnoreFileBuildProvider.cs
- ThreadPool.cs
- SolidColorBrush.cs
- StrokeCollection.cs
- ClientSettingsStore.cs
- PagePropertiesChangingEventArgs.cs
- MediaPlayer.cs
- RowsCopiedEventArgs.cs
- OracleBoolean.cs
- PropertyPath.cs
- SequenceDesigner.xaml.cs
- Model3DCollection.cs
- SizeChangedInfo.cs
- ArraySortHelper.cs
- GroupBoxRenderer.cs
- DataErrorValidationRule.cs
- CategoryNameCollection.cs
- ConstraintConverter.cs
- AssemblyResourceLoader.cs
- ComplexType.cs
- MailSettingsSection.cs
- CollectionView.cs
- DependencyObjectPropertyDescriptor.cs
- ImageListUtils.cs
- StoreConnection.cs
- LineProperties.cs
- DataGridViewColumnCollection.cs
- ChannelDispatcher.cs
- WebPartChrome.cs
- EmptyImpersonationContext.cs
- UnSafeCharBuffer.cs
- WindowsIPAddress.cs
- MbpInfo.cs
- TreeNodeCollection.cs
- RTLAwareMessageBox.cs
- PropertyStore.cs
- CompilerScope.cs
- SmiEventSink.cs
- DataObjectSettingDataEventArgs.cs
- ComboBox.cs
- shaperfactoryquerycacheentry.cs
- FixedSOMPageElement.cs
- PathGradientBrush.cs
- CompiledQueryCacheKey.cs
- ServiceMemoryGates.cs
- CompressedStack.cs
- FileDataSource.cs
- SchemaTypeEmitter.cs
- ClientTargetCollection.cs
- DBCommand.cs
- WebProxyScriptElement.cs
- IxmlLineInfo.cs
- CngKeyCreationParameters.cs
- ZipIOLocalFileBlock.cs
- GridViewSelectEventArgs.cs
- WebBrowserHelper.cs
- DocumentGrid.cs
- CodeAttributeArgument.cs
- streamingZipPartStream.cs
- File.cs
- FixedTextContainer.cs
- EntityDataSourceContextDisposingEventArgs.cs
- UnitySerializationHolder.cs
- OrderedEnumerableRowCollection.cs
- TextTreeTextBlock.cs
- KeyValuePairs.cs
- VectorCollectionConverter.cs