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
- RelatedImageListAttribute.cs
- BasicCommandTreeVisitor.cs
- ValidatorAttribute.cs
- Subtract.cs
- ExpressionWriter.cs
- DataObject.cs
- SharedMemory.cs
- Attributes.cs
- BitmapSource.cs
- ContentType.cs
- CodeAccessPermission.cs
- FormsAuthenticationEventArgs.cs
- oledbmetadatacollectionnames.cs
- EntitySetBaseCollection.cs
- XmlSchemaDocumentation.cs
- Rect.cs
- GradientBrush.cs
- FixedSOMContainer.cs
- TextRange.cs
- TextRangeEdit.cs
- PartialClassGenerationTaskInternal.cs
- EmptyControlCollection.cs
- AuthenticationSection.cs
- IgnoreDeviceFilterElement.cs
- ToolStripTextBox.cs
- Pair.cs
- Menu.cs
- _NtlmClient.cs
- _NetRes.cs
- httpserverutility.cs
- ExpressionVisitor.cs
- IndentedWriter.cs
- Operator.cs
- ClientType.cs
- ToolStripSeparatorRenderEventArgs.cs
- ControlCodeDomSerializer.cs
- RepeatButton.cs
- RelationshipEndMember.cs
- WebPart.cs
- fixedPageContentExtractor.cs
- SqlCacheDependency.cs
- EventManager.cs
- SafeNativeMethods.cs
- DatatypeImplementation.cs
- TypeUnloadedException.cs
- DataViewManager.cs
- ResourcesBuildProvider.cs
- AsyncOperation.cs
- FacetEnabledSchemaElement.cs
- ListControlConvertEventArgs.cs
- WebPartEditorOkVerb.cs
- SHA512.cs
- DataGridViewColumnCollectionEditor.cs
- RayMeshGeometry3DHitTestResult.cs
- ApplicationInterop.cs
- PenContext.cs
- UnitySerializationHolder.cs
- ControlPaint.cs
- ContextStack.cs
- TakeQueryOptionExpression.cs
- EventRoute.cs
- DelayDesigner.cs
- TrackBar.cs
- HttpRequestTraceRecord.cs
- X509CertificateTokenFactoryCredential.cs
- DBConnectionString.cs
- filewebresponse.cs
- XmlMemberMapping.cs
- SystemResourceKey.cs
- UIElementParagraph.cs
- HtmlControlPersistable.cs
- EntityKeyElement.cs
- XamlSerializerUtil.cs
- ObjectStateManagerMetadata.cs
- Peer.cs
- ResourceManager.cs
- Win32KeyboardDevice.cs
- SmiMetaDataProperty.cs
- FloatMinMaxAggregationOperator.cs
- __ComObject.cs
- TextTreeRootNode.cs
- IPCCacheManager.cs
- __TransparentProxy.cs
- WpfSharedBamlSchemaContext.cs
- NameScopePropertyAttribute.cs
- HMACMD5.cs
- ColorConverter.cs
- Keywords.cs
- EmptyEnumerator.cs
- EventData.cs
- PolyBezierSegmentFigureLogic.cs
- MergeLocalizationDirectives.cs
- HttpCacheVaryByContentEncodings.cs
- WindowsScrollBar.cs
- ModulesEntry.cs
- HandlerMappingMemo.cs
- MailWebEventProvider.cs
- __ConsoleStream.cs
- DataGridViewCellPaintingEventArgs.cs
- Int32Rect.cs