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
- ListViewTableRow.cs
- XmlIlGenerator.cs
- Separator.cs
- TCPClient.cs
- FocusManager.cs
- MessageSmuggler.cs
- DisplayNameAttribute.cs
- DataGridViewColumnHeaderCell.cs
- SqlNamer.cs
- Formatter.cs
- UniqueIdentifierService.cs
- FontResourceCache.cs
- ProfileEventArgs.cs
- Evidence.cs
- TypedTableBase.cs
- RectangleF.cs
- XmlSchemaFacet.cs
- TypeInitializationException.cs
- SqlProfileProvider.cs
- NavigationPropertyEmitter.cs
- HMACMD5.cs
- CapabilitiesSection.cs
- FrugalList.cs
- JavaScriptString.cs
- XPathItem.cs
- UseManagedPresentationBindingElementImporter.cs
- QilName.cs
- TypedElement.cs
- WindowsImpersonationContext.cs
- LicenseContext.cs
- BitmapEffectCollection.cs
- InlineCollection.cs
- XmlSignatureManifest.cs
- Update.cs
- SQLInt16Storage.cs
- RTTrackingProfile.cs
- SecurityState.cs
- Typeface.cs
- XamlTypeMapper.cs
- WpfPayload.cs
- SizeFConverter.cs
- TileBrush.cs
- NodeLabelEditEvent.cs
- DataGridViewColumnConverter.cs
- SqlMetaData.cs
- AnnotationStore.cs
- EnumerableCollectionView.cs
- mda.cs
- FocusTracker.cs
- RepeaterCommandEventArgs.cs
- DocumentSequence.cs
- CompositeDuplexBindingElementImporter.cs
- ClientSettingsSection.cs
- WrappedIUnknown.cs
- Module.cs
- FormattedText.cs
- Journal.cs
- WebBrowserUriTypeConverter.cs
- StyleReferenceConverter.cs
- ChangesetResponse.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- InvalidPrinterException.cs
- MembershipValidatePasswordEventArgs.cs
- UnaryNode.cs
- DetailsViewPagerRow.cs
- SqlFunctionAttribute.cs
- BatchServiceHost.cs
- ToolStripSettings.cs
- InfiniteIntConverter.cs
- DirectoryRedirect.cs
- PointF.cs
- InputManager.cs
- MatcherBuilder.cs
- RowVisual.cs
- RSAPKCS1KeyExchangeFormatter.cs
- MetadataItemEmitter.cs
- CommandValueSerializer.cs
- WebBrowsableAttribute.cs
- SafeFindHandle.cs
- ToggleProviderWrapper.cs
- FormattedTextSymbols.cs
- RegexReplacement.cs
- SQLInt64Storage.cs
- storepermissionattribute.cs
- HttpCookie.cs
- ShutDownListener.cs
- ColorMap.cs
- WindowsAltTab.cs
- dataSvcMapFileLoader.cs
- RenamedEventArgs.cs
- ListCollectionView.cs
- DataGridViewCellMouseEventArgs.cs
- CalendarDayButton.cs
- CssClassPropertyAttribute.cs
- PtsHost.cs
- HashCodeCombiner.cs
- SqlProfileProvider.cs
- ListViewGroupConverter.cs
- PassportIdentity.cs
- ProxyWebPartConnectionCollection.cs