Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / 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 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. //---------------------------------------------------------------------------- // //// 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
- XmlDataLoader.cs
- CodeDirectoryCompiler.cs
- StrokeNodeOperations.cs
- CryptoHandle.cs
- FixedSOMContainer.cs
- DataGridViewAdvancedBorderStyle.cs
- StrokeIntersection.cs
- HotSpot.cs
- UIElementParagraph.cs
- NativeMethods.cs
- XmlNodeChangedEventArgs.cs
- sqlinternaltransaction.cs
- HtmlGenericControl.cs
- PaginationProgressEventArgs.cs
- WebPartZone.cs
- ReferencedCollectionType.cs
- WindowsListViewGroupHelper.cs
- ChooseAction.cs
- DbReferenceCollection.cs
- HtmlInputHidden.cs
- CursorConverter.cs
- WinFormsSpinner.cs
- BookmarkWorkItem.cs
- LicenseProviderAttribute.cs
- ClickablePoint.cs
- XamlGridLengthSerializer.cs
- PropertyGrid.cs
- ToolboxItemCollection.cs
- XmlSerializerVersionAttribute.cs
- ToolStripDropDownClosedEventArgs.cs
- SamlAssertionKeyIdentifierClause.cs
- VisualStyleRenderer.cs
- SessionEndedEventArgs.cs
- HotSpotCollection.cs
- TextSelectionProcessor.cs
- TypeInfo.cs
- SafeHandles.cs
- HttpPostClientProtocol.cs
- UICuesEvent.cs
- IDispatchConstantAttribute.cs
- TrackingProfileManager.cs
- Error.cs
- Label.cs
- Emitter.cs
- InfoCardListRequest.cs
- MemoryFailPoint.cs
- FileIOPermission.cs
- OdbcConnectionFactory.cs
- DurableTimerExtension.cs
- WebServiceData.cs
- ElementHostAutomationPeer.cs
- StatusBarAutomationPeer.cs
- SystemIcmpV4Statistics.cs
- Mouse.cs
- FormViewPagerRow.cs
- SecurityAlgorithmSuite.cs
- StylusShape.cs
- StorageScalarPropertyMapping.cs
- TitleStyle.cs
- DataKeyArray.cs
- TextMetrics.cs
- FrugalMap.cs
- DiscreteKeyFrames.cs
- MemberAccessException.cs
- SqlCacheDependencySection.cs
- TextElement.cs
- CodePageEncoding.cs
- PathSegment.cs
- GlobalizationSection.cs
- EditorPartChrome.cs
- OracleDataAdapter.cs
- ProfileServiceManager.cs
- OrderByBuilder.cs
- WSDualHttpSecurityElement.cs
- CodeDomSerializationProvider.cs
- TextEvent.cs
- ScriptDescriptor.cs
- sitestring.cs
- ThrowHelper.cs
- columnmapfactory.cs
- FlowPosition.cs
- SHA256.cs
- Separator.cs
- Control.cs
- SecurityElement.cs
- PrivilegedConfigurationManager.cs
- Transform3DGroup.cs
- GridViewColumnCollection.cs
- DependencyObjectProvider.cs
- CustomValidator.cs
- InputLanguage.cs
- TableLayoutStyle.cs
- MSAANativeProvider.cs
- cache.cs
- CustomTypeDescriptor.cs
- OracleColumn.cs
- HtmlContainerControl.cs
- ColumnResizeUndoUnit.cs
- Substitution.cs
- TraceHandler.cs