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
- ClientSettingsSection.cs
- TailCallAnalyzer.cs
- OleDbRowUpdatingEvent.cs
- DateTimeOffsetConverter.cs
- BookmarkScopeHandle.cs
- RenderDataDrawingContext.cs
- _BasicClient.cs
- ReferenceEqualityComparer.cs
- TreeViewImageIndexConverter.cs
- CmsUtils.cs
- DictionaryEntry.cs
- XmlSchemaSimpleTypeUnion.cs
- OptimizerPatterns.cs
- MD5Cng.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- MergablePropertyAttribute.cs
- ParameterBinding.cs
- ListBindableAttribute.cs
- EUCJPEncoding.cs
- CodeGeneratorOptions.cs
- ProxyAttribute.cs
- MetadataSerializer.cs
- InvalidOperationException.cs
- LightweightCodeGenerator.cs
- StoreItemCollection.cs
- clipboard.cs
- AxHostDesigner.cs
- X509CertificateClaimSet.cs
- regiisutil.cs
- EntityAdapter.cs
- SettingsPropertyValueCollection.cs
- WriteableBitmap.cs
- DropTarget.cs
- Positioning.cs
- SerializationSectionGroup.cs
- AssemblyAttributesGoHere.cs
- SpeechRecognizer.cs
- EventEntry.cs
- RowsCopiedEventArgs.cs
- EntityReference.cs
- NativeMethods.cs
- ArgumentException.cs
- X509RawDataKeyIdentifierClause.cs
- NominalTypeEliminator.cs
- ParameterBuilder.cs
- ProgressBar.cs
- StringAttributeCollection.cs
- Int32CollectionConverter.cs
- CodeTypeMember.cs
- EncoderParameters.cs
- Expander.cs
- Int32Storage.cs
- Set.cs
- DesignerDataConnection.cs
- _AutoWebProxyScriptWrapper.cs
- ActivityDelegate.cs
- SHA1.cs
- LinqDataSourceValidationException.cs
- PersonalizationDictionary.cs
- BrowserCapabilitiesFactory.cs
- RuntimeHandles.cs
- ServiceContractDetailViewControl.cs
- IdentifierService.cs
- BitmapEffectInput.cs
- SqlInternalConnection.cs
- ContainerParaClient.cs
- _NestedMultipleAsyncResult.cs
- DataGridViewAdvancedBorderStyle.cs
- BitmapEffectGeneralTransform.cs
- GeometryDrawing.cs
- DeploymentSectionCache.cs
- ToolBarOverflowPanel.cs
- ForwardPositionQuery.cs
- ItemContainerGenerator.cs
- Int32.cs
- DesignTimeParseData.cs
- HttpListener.cs
- OperatorExpressions.cs
- DesignerToolStripControlHost.cs
- LayoutSettings.cs
- ObjectCloneHelper.cs
- DataRowExtensions.cs
- CaseInsensitiveOrdinalStringComparer.cs
- EntityDataSourceChangingEventArgs.cs
- ListViewDataItem.cs
- TopClause.cs
- CompilerGlobalScopeAttribute.cs
- HtmlTableRow.cs
- CompModSwitches.cs
- PrintingPermissionAttribute.cs
- CollectionViewProxy.cs
- TableParaClient.cs
- SqlDependencyListener.cs
- ColorAnimationBase.cs
- DesignerPerfEventProvider.cs
- Perspective.cs
- AutomationFocusChangedEventArgs.cs
- References.cs
- FileSystemEventArgs.cs
- SpotLight.cs