Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / AlignmentYValidation.cs / 1 / AlignmentYValidation.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.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 IsAlignmentYValid(object valueObject) { AlignmentY value = (AlignmentY) valueObject; return (value == AlignmentY.Top) || (value == AlignmentY.Center) || (value == AlignmentY.Bottom); } } } // 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
- ImagingCache.cs
- LockedBorderGlyph.cs
- EntityProxyTypeInfo.cs
- EasingFunctionBase.cs
- TypeListConverter.cs
- FrameworkRichTextComposition.cs
- GotoExpression.cs
- WindowsListView.cs
- WorkflowViewStateService.cs
- XmlAnyElementAttribute.cs
- DefaultEventAttribute.cs
- ChtmlTextWriter.cs
- GraphicsContext.cs
- PassportAuthentication.cs
- SourceFileBuildProvider.cs
- DragDrop.cs
- QilFunction.cs
- XamlFilter.cs
- DBConnectionString.cs
- ConfigurationStrings.cs
- UriScheme.cs
- DefaultObjectSerializer.cs
- HtmlFormWrapper.cs
- HostedElements.cs
- InputReferenceExpression.cs
- Type.cs
- Errors.cs
- XmlElementAttributes.cs
- MarshalByRefObject.cs
- SourceFileBuildProvider.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- XmlHelper.cs
- QueueTransferProtocol.cs
- AttributeUsageAttribute.cs
- DefaultPropertiesToSend.cs
- CompilerGlobalScopeAttribute.cs
- AvTraceFormat.cs
- ListControlBoundActionList.cs
- ObjectHelper.cs
- CommonObjectSecurity.cs
- ModelServiceImpl.cs
- SchemaImporterExtensionsSection.cs
- QilInvokeLateBound.cs
- DbProviderFactory.cs
- SQLMoneyStorage.cs
- ByteConverter.cs
- OutputCacheModule.cs
- DataChangedEventManager.cs
- BooleanConverter.cs
- RIPEMD160Managed.cs
- FrameworkContentElement.cs
- Selection.cs
- TypeDescriptionProvider.cs
- FixUpCollection.cs
- WindowsListViewSubItem.cs
- DataViewSetting.cs
- ContentElement.cs
- SystemColors.cs
- CompilerErrorCollection.cs
- GCHandleCookieTable.cs
- SecurityTokenInclusionMode.cs
- Timeline.cs
- XmlExpressionDumper.cs
- XsltArgumentList.cs
- EFDataModelProvider.cs
- ToolBarButtonClickEvent.cs
- Ipv6Element.cs
- PropertyMapper.cs
- PeerNameRegistration.cs
- RecordBuilder.cs
- Int32RectValueSerializer.cs
- TableRowCollection.cs
- Size.cs
- SqlBuilder.cs
- relpropertyhelper.cs
- NullRuntimeConfig.cs
- XmlWellformedWriter.cs
- SharedPerformanceCounter.cs
- NativeMethods.cs
- FontCollection.cs
- SeekableMessageNavigator.cs
- DesignerContextDescriptor.cs
- Point3DAnimationBase.cs
- PixelFormatConverter.cs
- ObjectDataSourceDesigner.cs
- METAHEADER.cs
- ConfigurationException.cs
- RegionInfo.cs
- RtfControls.cs
- UnknownMessageReceivedEventArgs.cs
- AttributeAction.cs
- DbParameterCollectionHelper.cs
- BitmapPalettes.cs
- XmlDataSource.cs
- Matrix3D.cs
- CustomAttributeFormatException.cs
- IProvider.cs
- WebScriptServiceHostFactory.cs
- ObjectNotFoundException.cs
- RuleEngine.cs