Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- Normalization.cs
- RotateTransform3D.cs
- AsyncDataRequest.cs
- TextSelectionHelper.cs
- BindingUtils.cs
- CreateUserErrorEventArgs.cs
- VirtualPath.cs
- Misc.cs
- InputBinder.cs
- DesignerDataRelationship.cs
- IApplicationTrustManager.cs
- ExpressionNormalizer.cs
- CultureSpecificCharacterBufferRange.cs
- EmbeddedMailObjectCollectionEditor.cs
- ChannelSinkStacks.cs
- LocalsItemDescription.cs
- ScrollData.cs
- XmlAttributes.cs
- FigureParagraph.cs
- VectorCollectionConverter.cs
- TextEditorSelection.cs
- DefaultEvaluationContext.cs
- ProtocolsConfigurationHandler.cs
- SchemaNotation.cs
- XmlValidatingReaderImpl.cs
- DispatcherOperation.cs
- OleDbException.cs
- ReferentialConstraint.cs
- HeaderedContentControl.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ListViewInsertedEventArgs.cs
- ReferencedAssembly.cs
- EdmTypeAttribute.cs
- InterleavedZipPartStream.cs
- StrongName.cs
- sqlcontext.cs
- DescendantOverDescendantQuery.cs
- Soap.cs
- DataBoundControlAdapter.cs
- CompositeDuplexElement.cs
- Cursor.cs
- GetTokenRequest.cs
- BrowserCapabilitiesFactory.cs
- ConfigurationCollectionAttribute.cs
- SchemaImporterExtension.cs
- WebUtil.cs
- QilGeneratorEnv.cs
- Listbox.cs
- ThreadInterruptedException.cs
- ArraySegment.cs
- ToolStripItemTextRenderEventArgs.cs
- HostingEnvironmentSection.cs
- RuleValidation.cs
- WebContext.cs
- MsmqBindingMonitor.cs
- KeyedHashAlgorithm.cs
- NonVisualControlAttribute.cs
- RequestUriProcessor.cs
- ObfuscationAttribute.cs
- WorkflowOperationAsyncResult.cs
- ItemDragEvent.cs
- NamespaceExpr.cs
- Inline.cs
- PersianCalendar.cs
- NestPullup.cs
- CellIdBoolean.cs
- Operand.cs
- SortQuery.cs
- GC.cs
- LinearGradientBrush.cs
- LineServicesCallbacks.cs
- MetaData.cs
- HostingEnvironmentSection.cs
- FormattedTextSymbols.cs
- SqlMethodCallConverter.cs
- LabelAutomationPeer.cs
- RtfFormatStack.cs
- AdvancedBindingEditor.cs
- DbException.cs
- KnowledgeBase.cs
- MarshalByValueComponent.cs
- IPEndPointCollection.cs
- AssemblyInfo.cs
- ValueUtilsSmi.cs
- BaseDataList.cs
- ModuleConfigurationInfo.cs
- XhtmlBasicListAdapter.cs
- FixedStringLookup.cs
- WebPartsSection.cs
- StoragePropertyMapping.cs
- DbQueryCommandTree.cs
- ArgumentOutOfRangeException.cs
- QuaternionConverter.cs
- CLRBindingWorker.cs
- AttachedPropertyMethodSelector.cs
- SerialPinChanges.cs
- OutputCacheSettingsSection.cs
- SerializableAttribute.cs
- XmlSchemaExternal.cs
- TimeoutException.cs