Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataSourceXmlSerializationAttribute.cs
- _LazyAsyncResult.cs
- WindowsAuthenticationModule.cs
- UndirectedGraph.cs
- ResizeGrip.cs
- CodeDOMUtility.cs
- EntityDataSourceReferenceGroup.cs
- DispatcherExceptionEventArgs.cs
- CodeAttributeArgument.cs
- HtmlElementErrorEventArgs.cs
- FormViewRow.cs
- SerializationException.cs
- ActivityValidator.cs
- FixedPageProcessor.cs
- FlowDocumentFormatter.cs
- HtmlHistory.cs
- WebPartConnectionsDisconnectVerb.cs
- DataServiceKeyAttribute.cs
- CustomErrorsSectionWrapper.cs
- PeerObject.cs
- AudienceUriMode.cs
- Unit.cs
- DataGridViewCellConverter.cs
- ConstraintStruct.cs
- LogicalTreeHelper.cs
- Misc.cs
- CornerRadiusConverter.cs
- Stream.cs
- propertytag.cs
- SafeFileMappingHandle.cs
- TextBox.cs
- OdbcReferenceCollection.cs
- DiagnosticTrace.cs
- Pair.cs
- MediaPlayer.cs
- XmlHierarchyData.cs
- SHA256CryptoServiceProvider.cs
- XmlExpressionDumper.cs
- DataGridRowClipboardEventArgs.cs
- ErrorTolerantObjectWriter.cs
- InputProviderSite.cs
- AssociationSet.cs
- OLEDB_Util.cs
- ValidatingReaderNodeData.cs
- TaskScheduler.cs
- WebPartsPersonalizationAuthorization.cs
- BufferedGraphicsContext.cs
- MouseCaptureWithinProperty.cs
- ProtocolElementCollection.cs
- AutomationIdentifierGuids.cs
- HideDisabledControlAdapter.cs
- TextSerializer.cs
- GlobalizationSection.cs
- Trace.cs
- PropertyOrder.cs
- Range.cs
- CompilerErrorCollection.cs
- ColumnWidthChangedEvent.cs
- ExpressionEditor.cs
- CellNormalizer.cs
- CodeChecksumPragma.cs
- LineServices.cs
- AndMessageFilter.cs
- KeyboardNavigation.cs
- BindingSource.cs
- TypeSystem.cs
- TransactionManager.cs
- SqlBulkCopyColumnMappingCollection.cs
- EncoderParameter.cs
- HttpResponseHeader.cs
- DataContractSet.cs
- MultiView.cs
- XmlSchemaElement.cs
- _HeaderInfoTable.cs
- SizeIndependentAnimationStorage.cs
- Permission.cs
- CacheEntry.cs
- CheckBox.cs
- Pkcs9Attribute.cs
- ProfileEventArgs.cs
- AssemblyUtil.cs
- StrokeNode.cs
- WindowsIPAddress.cs
- Image.cs
- SrgsToken.cs
- XmlCountingReader.cs
- DataGridViewSelectedCellCollection.cs
- PrintPageEvent.cs
- TextElementEnumerator.cs
- ThreadExceptionEvent.cs
- LogicalTreeHelper.cs
- UserControlParser.cs
- SynchronousSendBindingElement.cs
- CapabilitiesRule.cs
- SettingsPropertyNotFoundException.cs
- Latin1Encoding.cs
- XmlSerializerVersionAttribute.cs
- LinqDataSourceInsertEventArgs.cs
- UniformGrid.cs
- WeakHashtable.cs