Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TextDecorationLocationValidation.cs / 1305600 / TextDecorationLocationValidation.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 IsTextDecorationLocationValid(object valueObject) { TextDecorationLocation value = (TextDecorationLocation) valueObject; return (value == TextDecorationLocation.Underline) || (value == TextDecorationLocation.OverLine) || (value == TextDecorationLocation.Strikethrough) || (value == TextDecorationLocation.Baseline); } } } // 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
- CngKey.cs
- QilStrConcat.cs
- XmlLangPropertyAttribute.cs
- CryptoSession.cs
- ArgumentNullException.cs
- AudioDeviceOut.cs
- WsdlContractConversionContext.cs
- QueryConverter.cs
- KnownTypesHelper.cs
- ProgressBarBrushConverter.cs
- DbCommandTree.cs
- XPathSingletonIterator.cs
- Win32Native.cs
- BamlLocalizabilityResolver.cs
- SHA512.cs
- BitmapImage.cs
- Metafile.cs
- EventProviderWriter.cs
- BamlTreeNode.cs
- TransformGroup.cs
- ReferenceEqualityComparer.cs
- ResponseBodyWriter.cs
- InputLanguageProfileNotifySink.cs
- TypeLoader.cs
- IWorkflowDebuggerService.cs
- EdgeModeValidation.cs
- _PooledStream.cs
- ControlParameter.cs
- MouseDevice.cs
- MetadataItem_Static.cs
- CodeComment.cs
- DataServiceQueryOfT.cs
- WebPartUserCapability.cs
- DefaultDiscoveryServiceExtension.cs
- RepeaterItemEventArgs.cs
- WmlLiteralTextAdapter.cs
- Action.cs
- NonBatchDirectoryCompiler.cs
- CustomTypeDescriptor.cs
- UnicastIPAddressInformationCollection.cs
- TextEditorTyping.cs
- StylusPlugInCollection.cs
- FormView.cs
- WebPartConnectionsEventArgs.cs
- Component.cs
- KeyFrames.cs
- PropertyPanel.cs
- EdmProviderManifest.cs
- Decoder.cs
- IPAddressCollection.cs
- ProbeDuplexCD1AsyncResult.cs
- COM2IProvidePropertyBuilderHandler.cs
- PathGradientBrush.cs
- SqlProcedureAttribute.cs
- ClientUrlResolverWrapper.cs
- PermissionToken.cs
- UniqueEventHelper.cs
- BookmarkEventArgs.cs
- RegexStringValidator.cs
- BindingExpression.cs
- SessionStateContainer.cs
- WindowsToolbarItemAsMenuItem.cs
- CompareInfo.cs
- KoreanLunisolarCalendar.cs
- RawUIStateInputReport.cs
- SimpleApplicationHost.cs
- GPPOINT.cs
- FontSource.cs
- SqlCachedBuffer.cs
- FieldNameLookup.cs
- SignalGate.cs
- ObjectSecurity.cs
- XsdBuildProvider.cs
- ContentWrapperAttribute.cs
- ToolStripDropTargetManager.cs
- PackagingUtilities.cs
- ListView.cs
- ThicknessConverter.cs
- SafeTimerHandle.cs
- ValidationErrorEventArgs.cs
- InvokeProviderWrapper.cs
- CalloutQueueItem.cs
- TypeUsageBuilder.cs
- BaseCodeDomTreeGenerator.cs
- EventHandlerService.cs
- EnumValAlphaComparer.cs
- PageAsyncTask.cs
- SchemaMapping.cs
- RestHandler.cs
- SQLSingle.cs
- WebPartConnectionsEventArgs.cs
- HtmlButton.cs
- CodePageUtils.cs
- DoubleConverter.cs
- ProfileService.cs
- KeySplineConverter.cs
- BrowserCapabilitiesFactory35.cs
- ListBindingHelper.cs
- SetterBaseCollection.cs
- GreenMethods.cs