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
- CacheSection.cs
- _UriTypeConverter.cs
- BinaryCommonClasses.cs
- XmlParserContext.cs
- BinaryNode.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- IndentedWriter.cs
- basenumberconverter.cs
- TextBoxRenderer.cs
- ListenerTraceUtility.cs
- MemoryStream.cs
- InvokeWebService.cs
- DataGridPreparingCellForEditEventArgs.cs
- ContextQuery.cs
- SecurityTokenRequirement.cs
- PermissionListSet.cs
- ExceptionUtil.cs
- HttpListenerRequest.cs
- BufferedMessageData.cs
- TemplateEditingVerb.cs
- RecognitionEventArgs.cs
- SamlDelegatingWriter.cs
- PolyQuadraticBezierSegment.cs
- DataError.cs
- ListViewEditEventArgs.cs
- XmlSchemas.cs
- QilExpression.cs
- DocumentGridPage.cs
- OleDbFactory.cs
- RelationshipWrapper.cs
- ApplicationDirectory.cs
- KnownTypesProvider.cs
- BindingGroup.cs
- SchemaElementDecl.cs
- _HTTPDateParse.cs
- ContentPathSegment.cs
- VirtualizingStackPanel.cs
- ConfigurationStrings.cs
- TaiwanCalendar.cs
- StylusPointProperties.cs
- Sentence.cs
- LoginUtil.cs
- SupportsEventValidationAttribute.cs
- InvokeProviderWrapper.cs
- DispatcherOperation.cs
- HttpHandlersSection.cs
- BulletedListEventArgs.cs
- SwitchLevelAttribute.cs
- IOThreadScheduler.cs
- SmtpTransport.cs
- ComponentGlyph.cs
- ProcessRequestArgs.cs
- TimeSpanConverter.cs
- LookupBindingPropertiesAttribute.cs
- SqlConnectionString.cs
- WebPartExportVerb.cs
- LineInfo.cs
- RepeatButton.cs
- SerializableTypeCodeDomSerializer.cs
- DbProviderFactory.cs
- BamlResourceDeserializer.cs
- Config.cs
- CommonXSendMessage.cs
- ToolBar.cs
- ObjectViewEntityCollectionData.cs
- ConfigurationSectionCollection.cs
- DeferrableContentConverter.cs
- Int64.cs
- ResourceCategoryAttribute.cs
- CodeGenerator.cs
- ReferencedType.cs
- AnimationTimeline.cs
- Rectangle.cs
- AuthenticationManager.cs
- LinqDataSourceUpdateEventArgs.cs
- StyleSheet.cs
- StrokeCollection2.cs
- CopyNodeSetAction.cs
- EpmSourceTree.cs
- WeakEventTable.cs
- BitmapEffectRenderDataResource.cs
- VerificationAttribute.cs
- ConstructorExpr.cs
- ServicePoint.cs
- ToolboxCategoryItems.cs
- TrackingStringDictionary.cs
- FixedPageAutomationPeer.cs
- HtmlElement.cs
- HttpHandler.cs
- ToolBarButtonClickEvent.cs
- ConnectionOrientedTransportElement.cs
- PrintPreviewGraphics.cs
- RepeatButton.cs
- HttpRawResponse.cs
- TextEndOfParagraph.cs
- Pool.cs
- DataObjectSettingDataEventArgs.cs
- DPCustomTypeDescriptor.cs
- PeerNameRecord.cs
- WindowPatternIdentifiers.cs