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
- Touch.cs
- HtmlTernaryTree.cs
- CounterNameConverter.cs
- File.cs
- LinkLabelLinkClickedEvent.cs
- BinHexDecoder.cs
- DbDataSourceEnumerator.cs
- ObjectListItem.cs
- MimeBasePart.cs
- UdpAnnouncementEndpoint.cs
- SecurityPermission.cs
- ParameterSubsegment.cs
- _NetRes.cs
- _emptywebproxy.cs
- SafeArrayTypeMismatchException.cs
- EditorZoneDesigner.cs
- DateTimeFormatInfo.cs
- TemplateBaseAction.cs
- Size.cs
- IconBitmapDecoder.cs
- RelationshipNavigation.cs
- EndpointDesigner.cs
- TreeNodeStyle.cs
- UserPersonalizationStateInfo.cs
- ToolStripArrowRenderEventArgs.cs
- DataBoundLiteralControl.cs
- JsonReader.cs
- XmlSchemaParticle.cs
- RtType.cs
- FileIOPermission.cs
- Panel.cs
- TextChange.cs
- DataMember.cs
- ModifiableIteratorCollection.cs
- CssStyleCollection.cs
- ToolStripItemCollection.cs
- SrgsRule.cs
- SctClaimDictionary.cs
- CharacterMetrics.cs
- CodeSnippetExpression.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- WebBrowserSiteBase.cs
- NullableFloatMinMaxAggregationOperator.cs
- OdbcException.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- FormViewDeletedEventArgs.cs
- ToolTip.cs
- UIElement3D.cs
- BlurEffect.cs
- AdapterDictionary.cs
- MulticastOption.cs
- RawStylusActions.cs
- RangeValuePatternIdentifiers.cs
- TypeDescriptionProvider.cs
- XmlSecureResolver.cs
- DBParameter.cs
- BindingWorker.cs
- ConsumerConnectionPointCollection.cs
- PermissionToken.cs
- _ConnectStream.cs
- FileCodeGroup.cs
- ProviderUtil.cs
- RegexCaptureCollection.cs
- XmlSchemaChoice.cs
- TickBar.cs
- PageClientProxyGenerator.cs
- Command.cs
- AuthenticateEventArgs.cs
- ConvertEvent.cs
- counter.cs
- UnsafeNativeMethods.cs
- PathFigureCollectionConverter.cs
- UIServiceHelper.cs
- TreeSet.cs
- ArraySortHelper.cs
- FixedFlowMap.cs
- ChildrenQuery.cs
- FixedBufferAttribute.cs
- DataControlFieldCollection.cs
- XPathNodeInfoAtom.cs
- VisualBrush.cs
- DispatcherProcessingDisabled.cs
- StylusDownEventArgs.cs
- SynchronizationLockException.cs
- BooleanProjectedSlot.cs
- SetterTriggerConditionValueConverter.cs
- TextDecoration.cs
- DbSetClause.cs
- PersistenceException.cs
- UndoEngine.cs
- DesignerActionKeyboardBehavior.cs
- Rotation3DAnimationUsingKeyFrames.cs
- AutoSizeComboBox.cs
- MailAddressCollection.cs
- MergablePropertyAttribute.cs
- QueryContinueDragEventArgs.cs
- XmlUTF8TextReader.cs
- XmlUTF8TextReader.cs
- UpWmlMobileTextWriter.cs
- TraceProvider.cs