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
- CodeArrayCreateExpression.cs
- DataGridSortCommandEventArgs.cs
- UrlAuthFailedErrorFormatter.cs
- PingReply.cs
- RegexWorker.cs
- WCFBuildProvider.cs
- SafePipeHandle.cs
- WebPartEditVerb.cs
- SymLanguageType.cs
- ColorTransformHelper.cs
- UnmanagedMemoryStreamWrapper.cs
- UnsafeNativeMethods.cs
- HtmlTableCell.cs
- PingOptions.cs
- UrlAuthorizationModule.cs
- CompositeFontInfo.cs
- SessionConnectionReader.cs
- PropertyMetadata.cs
- TextureBrush.cs
- ZoneIdentityPermission.cs
- SqlRowUpdatingEvent.cs
- ActivityInstance.cs
- CompositeControl.cs
- TemplateAction.cs
- MenuItemStyleCollection.cs
- MulticastIPAddressInformationCollection.cs
- HtmlInputFile.cs
- ReadOnlyAttribute.cs
- LicFileLicenseProvider.cs
- ReachFixedDocumentSerializer.cs
- webeventbuffer.cs
- NavigationWindow.cs
- DBCSCodePageEncoding.cs
- PositiveTimeSpanValidator.cs
- GridViewRowEventArgs.cs
- CopyCodeAction.cs
- TrackingServices.cs
- CharAnimationUsingKeyFrames.cs
- RewritingPass.cs
- BreakRecordTable.cs
- FileLogRecordStream.cs
- TextElementAutomationPeer.cs
- FileAuthorizationModule.cs
- InternalSafeNativeMethods.cs
- DocComment.cs
- DataControlField.cs
- AuthenticationModuleElementCollection.cs
- RSACryptoServiceProvider.cs
- ControlValuePropertyAttribute.cs
- SerializationException.cs
- ContentElementAutomationPeer.cs
- FilterQuery.cs
- FullTextState.cs
- HtmlElementEventArgs.cs
- ObjectItemCollection.cs
- HttpRawResponse.cs
- PkcsUtils.cs
- SafePointer.cs
- DocumentGridContextMenu.cs
- LineSegment.cs
- EncryptedPackageFilter.cs
- AddressUtility.cs
- CombinedTcpChannel.cs
- ButtonBase.cs
- XmlArrayItemAttribute.cs
- DefaultTextStore.cs
- StdRegProviderWrapper.cs
- XamlWrappingReader.cs
- ColorAnimationBase.cs
- WebEventCodes.cs
- DataContract.cs
- PathStreamGeometryContext.cs
- DynamicQueryStringParameter.cs
- DataServiceHostWrapper.cs
- CollectionBase.cs
- HtmlLiteralTextAdapter.cs
- SecUtil.cs
- NetDataContractSerializer.cs
- ProcessHost.cs
- MouseOverProperty.cs
- Grid.cs
- WindowVisualStateTracker.cs
- MeasurementDCInfo.cs
- PeerApplicationLaunchInfo.cs
- httpstaticobjectscollection.cs
- ConfigurationManagerInternalFactory.cs
- SecurityMessageProperty.cs
- CodeNamespaceImport.cs
- ListItemParagraph.cs
- CustomAssemblyResolver.cs
- CodeTypeDeclaration.cs
- TableCell.cs
- DnsEndPoint.cs
- AutomationPatternInfo.cs
- UrlParameterWriter.cs
- Tile.cs
- SmtpReplyReader.cs
- BlockUIContainer.cs
- ToolStripMenuItemCodeDomSerializer.cs
- SqlUserDefinedTypeAttribute.cs