Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / AlignmentXValidation.cs / 1 / AlignmentXValidation.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 IsAlignmentXValid(object valueObject) { AlignmentX value = (AlignmentX) valueObject; return (value == AlignmentX.Left) || (value == AlignmentX.Center) || (value == AlignmentX.Right); } } } // 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
- StorageComplexTypeMapping.cs
- BasicKeyConstraint.cs
- CombinedGeometry.cs
- ExtendedProtectionPolicy.cs
- FixedTextPointer.cs
- EvidenceBase.cs
- DesigntimeLicenseContextSerializer.cs
- AmbientValueAttribute.cs
- GroupItemAutomationPeer.cs
- loginstatus.cs
- MetadataHelper.cs
- LineBreakRecord.cs
- AttributeCollection.cs
- NetworkInterface.cs
- EndpointDiscoveryElement.cs
- ClientSettings.cs
- TypeLibConverter.cs
- RIPEMD160.cs
- HMACSHA256.cs
- ListViewItemCollectionEditor.cs
- BitmapEffectDrawingContextWalker.cs
- SqlMultiplexer.cs
- CharConverter.cs
- PropertyTabChangedEvent.cs
- ToolboxComponentsCreatingEventArgs.cs
- FamilyCollection.cs
- ComponentChangedEvent.cs
- LayoutManager.cs
- PropertyDescriptorCollection.cs
- MessageQueueEnumerator.cs
- CheckBoxBaseAdapter.cs
- ClientSettings.cs
- oledbmetadatacolumnnames.cs
- XPathNode.cs
- RegionInfo.cs
- SimpleWorkerRequest.cs
- WindowsFormsSectionHandler.cs
- QueryReaderSettings.cs
- CurrentChangingEventManager.cs
- CustomValidator.cs
- PropertyGeneratedEventArgs.cs
- CodeArgumentReferenceExpression.cs
- DataServiceRequestArgs.cs
- OdbcParameter.cs
- EntityDescriptor.cs
- WinEventTracker.cs
- SelectiveScrollingGrid.cs
- ShapeTypeface.cs
- TimeSpanMinutesConverter.cs
- KeyEvent.cs
- MSHTMLHostUtil.cs
- Rule.cs
- hwndwrapper.cs
- ValueChangedEventManager.cs
- IArgumentProvider.cs
- ServiceDescriptionReflector.cs
- SharedPersonalizationStateInfo.cs
- DynamicRenderer.cs
- MessageAction.cs
- VersionValidator.cs
- DoubleAnimationBase.cs
- FontDialog.cs
- CalendarDay.cs
- GridViewSelectEventArgs.cs
- DuplexChannelFactory.cs
- CodeDOMProvider.cs
- WindowHelperService.cs
- QilVisitor.cs
- SignatureTargetIdManager.cs
- GPRECT.cs
- NameValuePermission.cs
- SqlServer2KCompatibilityCheck.cs
- TickBar.cs
- PerformanceCounter.cs
- MappingItemCollection.cs
- SqlParameter.cs
- WorkflowExecutor.cs
- HttpHandlerActionCollection.cs
- LocationEnvironment.cs
- ThicknessKeyFrameCollection.cs
- TrustManagerPromptUI.cs
- ListViewItemMouseHoverEvent.cs
- InheritanceContextChangedEventManager.cs
- RequestQueue.cs
- LogExtentCollection.cs
- FrameworkObject.cs
- EntityClientCacheKey.cs
- MatrixAnimationUsingKeyFrames.cs
- TrackingDataItem.cs
- ImpersonateTokenRef.cs
- ToolStripItemTextRenderEventArgs.cs
- WebPartVerb.cs
- DataBindingHandlerAttribute.cs
- XmlRawWriterWrapper.cs
- Int32Rect.cs
- FigureHelper.cs
- SystemFonts.cs
- GradientBrush.cs
- CodeAccessSecurityEngine.cs
- WindowsServiceCredential.cs