Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / AlignmentYValidation.cs / 1305600 / AlignmentYValidation.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 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
- EntryIndex.cs
- XsltFunctions.cs
- HtmlForm.cs
- FlowLayout.cs
- ParamArrayAttribute.cs
- ObjectDataSourceEventArgs.cs
- EntityDataSourceChangedEventArgs.cs
- RTLAwareMessageBox.cs
- PassportIdentity.cs
- IntPtr.cs
- TextRunTypographyProperties.cs
- Attributes.cs
- SystemFonts.cs
- WorkflowWebHostingModule.cs
- XomlCompilerHelpers.cs
- DbConnectionPoolIdentity.cs
- XmlDigitalSignatureProcessor.cs
- XamlStyleSerializer.cs
- RevocationPoint.cs
- XmlChoiceIdentifierAttribute.cs
- AttributeUsageAttribute.cs
- AsnEncodedData.cs
- TextRangeAdaptor.cs
- PointLightBase.cs
- FileChangesMonitor.cs
- ControlLocalizer.cs
- DoubleLinkListEnumerator.cs
- WebCategoryAttribute.cs
- HtmlInputPassword.cs
- BitmapImage.cs
- TabRenderer.cs
- ErrorHandler.cs
- MultiPartWriter.cs
- Component.cs
- ToolStripSystemRenderer.cs
- FixedBufferAttribute.cs
- BufferedOutputAsyncStream.cs
- CurrentTimeZone.cs
- HttpRequestWrapper.cs
- AesCryptoServiceProvider.cs
- Stacktrace.cs
- ChannelSettingsElement.cs
- smtpconnection.cs
- TrustManagerMoreInformation.cs
- DrawingBrush.cs
- HttpCookieCollection.cs
- AndMessageFilter.cs
- DataBoundControlActionList.cs
- XmlSchemaParticle.cs
- ValidationErrorEventArgs.cs
- CompatibleIComparer.cs
- Models.cs
- ValidationError.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- PrinterUnitConvert.cs
- unsafeIndexingFilterStream.cs
- Monitor.cs
- GlyphRunDrawing.cs
- ObjectListShowCommandsEventArgs.cs
- DrawListViewItemEventArgs.cs
- TextView.cs
- SqlBooleanizer.cs
- namescope.cs
- MimeBasePart.cs
- CallbackException.cs
- ProtectedConfiguration.cs
- HttpApplicationFactory.cs
- SoapSchemaImporter.cs
- SudsWriter.cs
- WebMessageEncodingBindingElement.cs
- UTF7Encoding.cs
- OdbcError.cs
- RepeatBehaviorConverter.cs
- XmlSchemaFacet.cs
- ContentPresenter.cs
- LineSegment.cs
- RijndaelCryptoServiceProvider.cs
- SafeProcessHandle.cs
- PrefixQName.cs
- Binding.cs
- SatelliteContractVersionAttribute.cs
- Track.cs
- ButtonFieldBase.cs
- HijriCalendar.cs
- CodePrimitiveExpression.cs
- PolygonHotSpot.cs
- Point3DCollectionConverter.cs
- EarlyBoundInfo.cs
- StorageComplexTypeMapping.cs
- XPathEmptyIterator.cs
- ToolStripDropTargetManager.cs
- Translator.cs
- CheckBoxList.cs
- ZipIOExtraFieldZip64Element.cs
- Internal.cs
- PackageStore.cs
- PointAnimationUsingKeyFrames.cs
- TextBlockAutomationPeer.cs
- DbConnectionStringBuilder.cs
- SqlBuilder.cs