Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TextDecorationUnitValidation.cs / 1305600 / TextDecorationUnitValidation.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 { 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 IsTextDecorationUnitValid(object valueObject) { TextDecorationUnit value = (TextDecorationUnit) valueObject; return (value == TextDecorationUnit.FontRecommended) || (value == TextDecorationUnit.FontRenderingEmSize) || (value == TextDecorationUnit.Pixel); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CultureTable.cs
- WorkflowView.cs
- IntegerFacetDescriptionElement.cs
- TextTreeRootTextBlock.cs
- ZoneButton.cs
- Choices.cs
- DLinqTableProvider.cs
- DbParameterCollection.cs
- EdmPropertyAttribute.cs
- MenuAutoFormat.cs
- WebPartUtil.cs
- AttributeQuery.cs
- Brushes.cs
- Quaternion.cs
- OdbcCommandBuilder.cs
- DetailsViewCommandEventArgs.cs
- StringDictionary.cs
- DetailsViewUpdatedEventArgs.cs
- WebFormsRootDesigner.cs
- StorageModelBuildProvider.cs
- COAUTHIDENTITY.cs
- PersonalizationAdministration.cs
- HttpRawResponse.cs
- RequestQueue.cs
- Constraint.cs
- OdbcFactory.cs
- LoaderAllocator.cs
- UseLicense.cs
- ValidatorCompatibilityHelper.cs
- TransactionTraceIdentifier.cs
- Propagator.ExtentPlaceholderCreator.cs
- DigestTraceRecordHelper.cs
- RolePrincipal.cs
- DocumentViewerBaseAutomationPeer.cs
- SQLResource.cs
- BufferedReadStream.cs
- ExpressionVisitor.cs
- OdbcConnectionPoolProviderInfo.cs
- X500Name.cs
- ComPlusThreadInitializer.cs
- DataGridViewMethods.cs
- SystemUnicastIPAddressInformation.cs
- ImageAnimator.cs
- XmlSchemaSimpleTypeUnion.cs
- WorkflowServiceHostFactory.cs
- XmlSerializationReader.cs
- FileReservationCollection.cs
- RowToParametersTransformer.cs
- XmlSchemaAppInfo.cs
- ActivityCodeDomSerializer.cs
- SynchronizedRandom.cs
- PersonalizationStateInfoCollection.cs
- UserValidatedEventArgs.cs
- HttpCachePolicy.cs
- WindowsHyperlink.cs
- BackgroundFormatInfo.cs
- RegexTypeEditor.cs
- UnionCodeGroup.cs
- DBNull.cs
- TransformCryptoHandle.cs
- ISO2022Encoding.cs
- NTAccount.cs
- OleDbRowUpdatingEvent.cs
- ToolStripLabel.cs
- LinqToSqlWrapper.cs
- DeclarativeCatalogPartDesigner.cs
- SharedUtils.cs
- ListDictionary.cs
- ToolStripSeparator.cs
- CalendarButtonAutomationPeer.cs
- HttpListenerElement.cs
- XPathNode.cs
- SchemaType.cs
- CodeStatement.cs
- SByte.cs
- SafeNativeMethodsCLR.cs
- MediaPlayer.cs
- RowUpdatingEventArgs.cs
- SqlBooleanMismatchVisitor.cs
- RedirectionProxy.cs
- CollectionsUtil.cs
- Message.cs
- PrivilegeNotHeldException.cs
- FontNamesConverter.cs
- recordstatefactory.cs
- CustomCredentialPolicy.cs
- ADMembershipProvider.cs
- LinkUtilities.cs
- HitTestParameters.cs
- HostedImpersonationContext.cs
- Rotation3DKeyFrameCollection.cs
- TokenBasedSetEnumerator.cs
- SmtpException.cs
- EnumConverter.cs
- SchemaCreator.cs
- DataGridCellAutomationPeer.cs
- CheckoutException.cs
- InvalidateEvent.cs
- FtpCachePolicyElement.cs
- Expression.DebuggerProxy.cs