Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / AlignmentXValidation.cs / 1305600 / AlignmentXValidation.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.Media { 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 IsAlignmentXValid(object valueObject) { AlignmentX value = (AlignmentX) valueObject; return (value == AlignmentX.Left) || (value == AlignmentX.Center) || (value == AlignmentX.Right); } } } // 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
- ClientConfigPaths.cs
- MemoryStream.cs
- LayoutUtils.cs
- ReadWriteSpinLock.cs
- WsatProxy.cs
- DataGridViewUtilities.cs
- XmlSchemaInfo.cs
- SoapHttpTransportImporter.cs
- SerializationInfo.cs
- SvcMapFileSerializer.cs
- Soap12ProtocolReflector.cs
- DataTableExtensions.cs
- TextTreeRootNode.cs
- IndexedGlyphRun.cs
- ExecutionEngineException.cs
- WorkingDirectoryEditor.cs
- BlockExpression.cs
- Attributes.cs
- AmbiguousMatchException.cs
- CodeNamespaceImport.cs
- CompressedStack.cs
- ObjectFullSpanRewriter.cs
- ViewLoader.cs
- DocumentCollection.cs
- XmlAtomErrorReader.cs
- XmlSerializationReader.cs
- SessionEndingEventArgs.cs
- XMLSyntaxException.cs
- WindowsTab.cs
- CustomPopupPlacement.cs
- TransactionProtocolConverter.cs
- RoleManagerEventArgs.cs
- ObjectPropertyMapping.cs
- DelimitedListTraceListener.cs
- WebPartVerbsEventArgs.cs
- XmlConvert.cs
- RemoveStoryboard.cs
- DataListItem.cs
- cookiecontainer.cs
- HiddenFieldPageStatePersister.cs
- AnnotationAdorner.cs
- CustomPopupPlacement.cs
- SolidBrush.cs
- PropertyCondition.cs
- UrlMappingsModule.cs
- InstalledFontCollection.cs
- IISUnsafeMethods.cs
- DefaultEventAttribute.cs
- SessionStateItemCollection.cs
- BamlLocalizabilityResolver.cs
- Assert.cs
- SpecialFolderEnumConverter.cs
- IteratorDescriptor.cs
- ScriptBehaviorDescriptor.cs
- DateBoldEvent.cs
- SessionEndingEventArgs.cs
- _AutoWebProxyScriptEngine.cs
- StylusButtonEventArgs.cs
- ShaperBuffers.cs
- Themes.cs
- PartitionResolver.cs
- TextRangeEditTables.cs
- XamlClipboardData.cs
- TokenBasedSet.cs
- DocumentApplicationJournalEntry.cs
- SingleSelectRootGridEntry.cs
- SignalGate.cs
- TextBoxBase.cs
- AnimationException.cs
- CallbackValidator.cs
- ExtensionQuery.cs
- WebSysDefaultValueAttribute.cs
- ImportDesigner.xaml.cs
- LayoutEvent.cs
- SendReply.cs
- InvokerUtil.cs
- _NetRes.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ButtonStandardAdapter.cs
- StandardCommands.cs
- CustomCategoryAttribute.cs
- SemanticResultKey.cs
- Facet.cs
- WeakEventManager.cs
- CustomErrorsSection.cs
- ListControlBoundActionList.cs
- CharEntityEncoderFallback.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ForwardPositionQuery.cs
- AppDomainUnloadedException.cs
- WindowCollection.cs
- TrackingQuery.cs
- XamlPoint3DCollectionSerializer.cs
- DataChangedEventManager.cs
- TextViewBase.cs
- FocusManager.cs
- Directory.cs
- ClearTypeHintValidation.cs
- ComplexType.cs
- EndpointFilterProvider.cs