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
- Visual3DCollection.cs
- Matrix3D.cs
- BitmapFrameDecode.cs
- IpcManager.cs
- ExpressionBinding.cs
- ManipulationPivot.cs
- Query.cs
- InvalidDataException.cs
- InternalSafeNativeMethods.cs
- ListItem.cs
- TableCellCollection.cs
- PersonalizationStateInfoCollection.cs
- DateTimeFormat.cs
- Object.cs
- ExpressionParser.cs
- EntityContainerAssociationSetEnd.cs
- SubMenuStyle.cs
- CngAlgorithmGroup.cs
- DefaultMemberAttribute.cs
- RoleManagerSection.cs
- XmlObjectSerializerWriteContextComplex.cs
- CompatibleComparer.cs
- IndentedWriter.cs
- EntityClientCacheEntry.cs
- UpdateRecord.cs
- BreakSafeBase.cs
- XmlSerializationWriter.cs
- Tile.cs
- Facet.cs
- ChooseAction.cs
- WebCategoryAttribute.cs
- PostBackOptions.cs
- SmtpException.cs
- DataGridViewColumnDesigner.cs
- GradientStopCollection.cs
- NonClientArea.cs
- Timer.cs
- InternalResources.cs
- InputEventArgs.cs
- Point3DCollection.cs
- PrintEvent.cs
- shaperfactoryquerycachekey.cs
- SHA256Managed.cs
- DelegateInArgument.cs
- MimeObjectFactory.cs
- Model3D.cs
- IgnoreDataMemberAttribute.cs
- ResourcePool.cs
- OneToOneMappingSerializer.cs
- SqlException.cs
- XmlReflectionImporter.cs
- CoreChannel.cs
- HyperLinkDesigner.cs
- XmlSchemaAll.cs
- SQLBoolean.cs
- CipherData.cs
- CommonXSendMessage.cs
- TransformationRules.cs
- HttpProfileBase.cs
- TextAutomationPeer.cs
- XmlUtf8RawTextWriter.cs
- WindowsListViewSubItem.cs
- CriticalFinalizerObject.cs
- ListViewDeleteEventArgs.cs
- PropertyRecord.cs
- DistributedTransactionPermission.cs
- Synchronization.cs
- IsolatedStorageException.cs
- Security.cs
- ViewValidator.cs
- WithStatement.cs
- DelayedRegex.cs
- XsltFunctions.cs
- SqlInternalConnectionTds.cs
- MsmqIntegrationProcessProtocolHandler.cs
- NullableConverter.cs
- SchemaConstraints.cs
- TraceFilter.cs
- TypeDefinition.cs
- BitmapScalingModeValidation.cs
- DeclaredTypeValidatorAttribute.cs
- CompatibleIComparer.cs
- GridViewSortEventArgs.cs
- IUnknownConstantAttribute.cs
- SecurityKeyUsage.cs
- Assert.cs
- VariableAction.cs
- BatchParser.cs
- SetterTriggerConditionValueConverter.cs
- BrushConverter.cs
- JsonEncodingStreamWrapper.cs
- TreeViewCancelEvent.cs
- HttpConfigurationContext.cs
- XsltOutput.cs
- NoneExcludedImageIndexConverter.cs
- filewebrequest.cs
- TypeNameConverter.cs
- SHA384.cs
- MessageEncodingBindingElement.cs
- EntitySetBaseCollection.cs