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
- addressfiltermode.cs
- GlobalizationSection.cs
- HierarchicalDataSourceControl.cs
- ObjectTag.cs
- BitmapSourceSafeMILHandle.cs
- EdmValidator.cs
- SQLDecimal.cs
- Visual3D.cs
- ConnectionStringSettingsCollection.cs
- HandleScope.cs
- BaseCodePageEncoding.cs
- Identifier.cs
- TextFormatterImp.cs
- HostedElements.cs
- Executor.cs
- METAHEADER.cs
- StaticDataManager.cs
- WsdlBuildProvider.cs
- PaintValueEventArgs.cs
- TextEncodedRawTextWriter.cs
- XsltInput.cs
- ConnectionManagementSection.cs
- ParallelTimeline.cs
- TextEffect.cs
- coordinator.cs
- ContainerAction.cs
- MessageFault.cs
- XsdBuildProvider.cs
- DecoderFallbackWithFailureFlag.cs
- RotateTransform3D.cs
- MembershipUser.cs
- AssociatedControlConverter.cs
- XPathNavigator.cs
- SystemColors.cs
- ParameterCollection.cs
- DrawingCollection.cs
- URI.cs
- DefaultPrintController.cs
- TypefaceMap.cs
- SizeChangedEventArgs.cs
- DataRecordObjectView.cs
- ImportStoreException.cs
- ReferenceSchema.cs
- UIElement.cs
- InheritedPropertyChangedEventArgs.cs
- OuterGlowBitmapEffect.cs
- FixedLineResult.cs
- TextFormatter.cs
- EditingScopeUndoUnit.cs
- XmlHierarchicalEnumerable.cs
- StaticFileHandler.cs
- sortedlist.cs
- System.Data_BID.cs
- CmsUtils.cs
- SspiHelper.cs
- ConfigurationManagerHelper.cs
- AssemblyAssociatedContentFileAttribute.cs
- PageContentCollection.cs
- OleDbDataReader.cs
- IPAddress.cs
- SequenceQuery.cs
- Axis.cs
- MenuCommands.cs
- PrimarySelectionAdorner.cs
- AttachedPropertyBrowsableAttribute.cs
- MultiByteCodec.cs
- TextViewDesigner.cs
- DataRelationCollection.cs
- IisTraceListener.cs
- TextStore.cs
- BooleanExpr.cs
- IconBitmapDecoder.cs
- SignedPkcs7.cs
- CommonXSendMessage.cs
- TreeWalkHelper.cs
- XmlSignificantWhitespace.cs
- XslTransformFileEditor.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- Pair.cs
- MembershipPasswordException.cs
- PropertiesTab.cs
- HitTestWithGeometryDrawingContextWalker.cs
- TextDecorationLocationValidation.cs
- ClonableStack.cs
- Optimizer.cs
- ItemCollectionEditor.cs
- WindowsSolidBrush.cs
- BasicBrowserDialog.cs
- HwndAppCommandInputProvider.cs
- MasterPageParser.cs
- DataListItem.cs
- ChoiceConverter.cs
- ManipulationStartingEventArgs.cs
- TypeListConverter.cs
- Enum.cs
- TextServicesDisplayAttribute.cs
- SQLInt16Storage.cs
- ChtmlCalendarAdapter.cs
- ResourceIDHelper.cs
- SessionStateItemCollection.cs