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
- EncoderParameter.cs
- GridViewAutoFormat.cs
- StrokeNode.cs
- RichTextBoxConstants.cs
- HttpBrowserCapabilitiesWrapper.cs
- ChameleonKey.cs
- SimpleType.cs
- ObjectMemberMapping.cs
- ManagementOperationWatcher.cs
- WsiProfilesElement.cs
- ExtendedPropertyCollection.cs
- RawStylusInputReport.cs
- PeerMaintainer.cs
- TableCell.cs
- IFlowDocumentViewer.cs
- FileSystemInfo.cs
- DrawingBrush.cs
- ManipulationInertiaStartingEventArgs.cs
- ServiceOperationWrapper.cs
- PolyBezierSegment.cs
- StrokeCollectionDefaultValueFactory.cs
- DependentTransaction.cs
- OracleCommandBuilder.cs
- ProviderUtil.cs
- UnsettableComboBox.cs
- DiagnosticsConfiguration.cs
- WebPartConnectionsEventArgs.cs
- ClaimSet.cs
- ProcessHostFactoryHelper.cs
- DBConnection.cs
- IdnMapping.cs
- WebPageTraceListener.cs
- WebPartManager.cs
- DllNotFoundException.cs
- SQLInt32.cs
- AutomationElementIdentifiers.cs
- SQLUtility.cs
- ParameterToken.cs
- ExpandableObjectConverter.cs
- DropShadowEffect.cs
- ExtendedPropertyDescriptor.cs
- metadatamappinghashervisitor.cs
- State.cs
- ChannelServices.cs
- HandoffBehavior.cs
- CodeConstructor.cs
- SuppressIldasmAttribute.cs
- GetPageNumberCompletedEventArgs.cs
- DrawingContextWalker.cs
- GeneratedContractType.cs
- TableDetailsCollection.cs
- PolyQuadraticBezierSegment.cs
- Keyboard.cs
- IntegerValidator.cs
- rsa.cs
- PropertyChangeTracker.cs
- SqlPersonalizationProvider.cs
- HttpListenerRequestUriBuilder.cs
- ToolStripGripRenderEventArgs.cs
- HandlerWithFactory.cs
- X509Certificate.cs
- RuleAttributes.cs
- Attributes.cs
- StateDesigner.TransitionInfo.cs
- MutexSecurity.cs
- DataGridViewTextBoxCell.cs
- NativeObjectSecurity.cs
- LocationUpdates.cs
- DependencyPropertyKind.cs
- ConnectorSelectionGlyph.cs
- CryptoProvider.cs
- pingexception.cs
- CodeParameterDeclarationExpression.cs
- TextOptions.cs
- SQLBytesStorage.cs
- ToolStripContainerDesigner.cs
- DetailsViewRow.cs
- FrugalList.cs
- Queue.cs
- StringTraceRecord.cs
- CompletionCallbackWrapper.cs
- SpellerError.cs
- XmlAnyAttributeAttribute.cs
- Events.cs
- BoundingRectTracker.cs
- HttpRuntimeSection.cs
- Empty.cs
- Group.cs
- ApplicationTrust.cs
- StringComparer.cs
- EventSinkActivityDesigner.cs
- ListBoxDesigner.cs
- ScrollChrome.cs
- WebProxyScriptElement.cs
- PropertyExpression.cs
- BevelBitmapEffect.cs
- FrameAutomationPeer.cs
- PopOutPanel.cs
- SessionSwitchEventArgs.cs
- CompensationDesigner.cs