Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / TextDecorationLocationValidation.cs / 1 / TextDecorationLocationValidation.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // Please see [....]/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
- DataRow.cs
- CharacterBufferReference.cs
- PathData.cs
- EraserBehavior.cs
- DeviceContext.cs
- ConfigXmlText.cs
- EllipseGeometry.cs
- BaseCAMarshaler.cs
- RegexReplacement.cs
- DataGridViewBindingCompleteEventArgs.cs
- BaseParser.cs
- XmlCharacterData.cs
- RestHandlerFactory.cs
- AdapterUtil.cs
- UserControl.cs
- PrincipalPermission.cs
- ItemList.cs
- NotCondition.cs
- NamespaceEmitter.cs
- WindowsGraphics2.cs
- BaseInfoTable.cs
- ExpressionParser.cs
- StaticFileHandler.cs
- _HelperAsyncResults.cs
- CacheAxisQuery.cs
- RowTypeElement.cs
- TokenBasedSetEnumerator.cs
- GridLength.cs
- DocumentAutomationPeer.cs
- FixedSOMTextRun.cs
- SapiInterop.cs
- AccessDataSourceWizardForm.cs
- StringWriter.cs
- BulletedList.cs
- DeviceSpecificChoice.cs
- HttpProtocolReflector.cs
- SelectionEditingBehavior.cs
- TagPrefixCollection.cs
- HierarchicalDataSourceControl.cs
- ServicePoint.cs
- ProxyWebPart.cs
- EventLogPermissionEntry.cs
- FormViewAutoFormat.cs
- FileChangesMonitor.cs
- CellCreator.cs
- JapaneseCalendar.cs
- HttpSysSettings.cs
- CompositeTypefaceMetrics.cs
- OutputCacheProviderCollection.cs
- HttpProtocolImporter.cs
- UsernameTokenFactoryCredential.cs
- TextContainerChangeEventArgs.cs
- MaskedTextProvider.cs
- CompilationSection.cs
- InteropEnvironment.cs
- DescendentsWalker.cs
- Control.cs
- MouseActionConverter.cs
- RunInstallerAttribute.cs
- httpapplicationstate.cs
- StaticTextPointer.cs
- View.cs
- ToolStripDropDownItem.cs
- XmlSchemaGroupRef.cs
- X509SecurityToken.cs
- LastQueryOperator.cs
- InternalPolicyElement.cs
- ShaperBuffers.cs
- SiteMembershipCondition.cs
- BufferedWebEventProvider.cs
- SqlCacheDependencyDatabase.cs
- Win32.cs
- FormatterConverter.cs
- ResXDataNode.cs
- RsaSecurityTokenAuthenticator.cs
- ScrollPatternIdentifiers.cs
- DataGridViewCheckBoxColumn.cs
- DomainConstraint.cs
- querybuilder.cs
- Win32.cs
- querybuilder.cs
- SystemIPInterfaceProperties.cs
- ImageButton.cs
- HtmlElementCollection.cs
- FixedDocumentSequencePaginator.cs
- NotifyParentPropertyAttribute.cs
- BinaryMessageEncoder.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- UpdatePanelControlTrigger.cs
- EndEvent.cs
- DoubleUtil.cs
- __Error.cs
- CurrentChangingEventManager.cs
- KeyValuePair.cs
- QueryContinueDragEvent.cs
- ResourceCodeDomSerializer.cs
- RoutedEventValueSerializer.cs
- LocalValueEnumerator.cs
- PageRequestManager.cs
- _HelperAsyncResults.cs