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
- TextRangeProviderWrapper.cs
- TypefaceMap.cs
- RoleService.cs
- RectangleF.cs
- UnionExpr.cs
- Assembly.cs
- ComponentResourceKeyConverter.cs
- QueueException.cs
- DataFormats.cs
- EtwTrackingBehavior.cs
- PersonalizablePropertyEntry.cs
- LinkButton.cs
- InstanceStore.cs
- GroupBox.cs
- QilExpression.cs
- StubHelpers.cs
- XamlFilter.cs
- ClientConfigPaths.cs
- ObjectQuery.cs
- TreeNodeMouseHoverEvent.cs
- Scripts.cs
- MimeTypeAttribute.cs
- WorkflowMarkupSerializerMapping.cs
- PrintDialog.cs
- Page.cs
- ChildrenQuery.cs
- ClrProviderManifest.cs
- UserUseLicenseDictionaryLoader.cs
- ThaiBuddhistCalendar.cs
- Visual3D.cs
- UnitySerializationHolder.cs
- _AutoWebProxyScriptWrapper.cs
- xamlnodes.cs
- dataobject.cs
- MessageSecurityVersion.cs
- TextEditorCharacters.cs
- ItemChangedEventArgs.cs
- DataGridColumn.cs
- Point3DKeyFrameCollection.cs
- TextRangeProviderWrapper.cs
- DrawingCollection.cs
- ICspAsymmetricAlgorithm.cs
- WmiEventSink.cs
- RotateTransform3D.cs
- WindowVisualStateTracker.cs
- XmlSchemaSimpleType.cs
- HostnameComparisonMode.cs
- Evidence.cs
- Rectangle.cs
- DesignerImageAdapter.cs
- IPPacketInformation.cs
- Converter.cs
- Brush.cs
- AsyncOperation.cs
- GridViewSelectEventArgs.cs
- ResourcePart.cs
- PathSegmentCollection.cs
- WorkflowDataContext.cs
- MsmqIntegrationSecurityMode.cs
- EncryptedKey.cs
- ReceiveReply.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- SiteMapDataSource.cs
- DataGridViewCellFormattingEventArgs.cs
- EntityDataSourceQueryBuilder.cs
- WorkflowRuntimeServiceElementCollection.cs
- LOSFormatter.cs
- Table.cs
- BufferedGraphicsContext.cs
- SqlDependencyListener.cs
- IdentitySection.cs
- PropertyEntry.cs
- documentsequencetextpointer.cs
- Color.cs
- Clause.cs
- CryptoApi.cs
- ConnectionManagementElementCollection.cs
- GPPOINTF.cs
- SharedConnectionWorkflowTransactionService.cs
- OutputCacheProfileCollection.cs
- SQLConvert.cs
- Parameter.cs
- SocketPermission.cs
- DefaultPrintController.cs
- CmsUtils.cs
- ToolStripCodeDomSerializer.cs
- DecimalConstantAttribute.cs
- PropertyRecord.cs
- TrustManagerMoreInformation.cs
- WmpBitmapDecoder.cs
- ConfigurationPropertyCollection.cs
- _AutoWebProxyScriptWrapper.cs
- TraceEventCache.cs
- StylusPointPropertyId.cs
- XmlText.cs
- RoleBoolean.cs
- CustomLineCap.cs
- DataGridColumnHeaderCollection.cs
- CompiledRegexRunner.cs
- ResXResourceReader.cs