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
- CollectionBase.cs
- DbProviderServices.cs
- TextFormatterImp.cs
- DurableInstanceProvider.cs
- PropertyMapper.cs
- ExpandCollapseIsCheckedConverter.cs
- storepermission.cs
- HeaderedItemsControl.cs
- DataSourceConverter.cs
- NumericUpDownAcceleration.cs
- FlowLayout.cs
- PathSegment.cs
- ZipIORawDataFileBlock.cs
- HttpStreamMessageEncoderFactory.cs
- Italic.cs
- HostTimeoutsElement.cs
- _AutoWebProxyScriptWrapper.cs
- ResourceDefaultValueAttribute.cs
- ComplexTypeEmitter.cs
- ButtonFieldBase.cs
- TextParagraphProperties.cs
- Helpers.cs
- HandledEventArgs.cs
- CodeChecksumPragma.cs
- SqlDataSourceStatusEventArgs.cs
- XomlCompiler.cs
- HtmlUtf8RawTextWriter.cs
- Publisher.cs
- MasterPageBuildProvider.cs
- IOThreadTimer.cs
- MenuRenderer.cs
- DocumentScope.cs
- ScriptRef.cs
- CodeGenerator.cs
- TextEditorTables.cs
- InternalCache.cs
- DataGridViewColumnCollection.cs
- TabletDeviceInfo.cs
- DataControlFieldsEditor.cs
- FormViewUpdateEventArgs.cs
- ComponentEditorPage.cs
- NullRuntimeConfig.cs
- DecimalKeyFrameCollection.cs
- Certificate.cs
- TargetException.cs
- XmlSchemaImport.cs
- PreviewPageInfo.cs
- SlipBehavior.cs
- DataGridViewElement.cs
- ImageEditor.cs
- ConfigurationValidatorAttribute.cs
- SystemInfo.cs
- Operand.cs
- DocumentPaginator.cs
- UnconditionalPolicy.cs
- ping.cs
- XmlMtomWriter.cs
- CompressedStack.cs
- HtmlAnchor.cs
- CodeTypeDeclaration.cs
- Timeline.cs
- StylusPointDescription.cs
- SpeakProgressEventArgs.cs
- SQLGuidStorage.cs
- ToolStripDropDownDesigner.cs
- XappLauncher.cs
- XmlReflectionImporter.cs
- ResourceExpression.cs
- SimpleFileLog.cs
- Root.cs
- ActivityExecutionContextCollection.cs
- HttpHandlerActionCollection.cs
- BitmapSizeOptions.cs
- Size.cs
- FocusTracker.cs
- FormViewCommandEventArgs.cs
- FlowDocumentScrollViewer.cs
- TransformationRules.cs
- IdleTimeoutMonitor.cs
- DecimalAnimationBase.cs
- RangeValueProviderWrapper.cs
- SlipBehavior.cs
- OpenTypeLayout.cs
- AuthStoreRoleProvider.cs
- GridEntryCollection.cs
- RectValueSerializer.cs
- CaseCqlBlock.cs
- ScrollItemPatternIdentifiers.cs
- InfoCardListRequest.cs
- ValidatorAttribute.cs
- MembershipUser.cs
- ImageAnimator.cs
- GridViewAutomationPeer.cs
- ReliableInputConnection.cs
- UIElementCollection.cs
- GACMembershipCondition.cs
- BuildProviderAppliesToAttribute.cs
- UnicodeEncoding.cs
- EntityDataSourceColumn.cs
- StringWriter.cs