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
- HierarchicalDataBoundControlAdapter.cs
- UnionExpr.cs
- XslCompiledTransform.cs
- Style.cs
- CodeTypeDelegate.cs
- LinkClickEvent.cs
- AppSettingsReader.cs
- UserValidatedEventArgs.cs
- ConsoleTraceListener.cs
- safex509handles.cs
- AsyncOperation.cs
- ControlsConfig.cs
- DefaultTextStoreTextComposition.cs
- __Error.cs
- ClientRolePrincipal.cs
- HttpHandlerActionCollection.cs
- MarshalByValueComponent.cs
- CodeLinePragma.cs
- MsmqQueue.cs
- ServiceCredentialsSecurityTokenManager.cs
- PassportAuthenticationEventArgs.cs
- TextComposition.cs
- ReliableMessagingHelpers.cs
- CompositeDataBoundControl.cs
- ProviderConnectionPoint.cs
- WindowAutomationPeer.cs
- TextFormatterImp.cs
- CodeEntryPointMethod.cs
- WebPartExportVerb.cs
- basenumberconverter.cs
- TimeSpanStorage.cs
- SqlDataSourceConnectionPanel.cs
- ManagedIStream.cs
- ToolStripSystemRenderer.cs
- HttpContext.cs
- SafeWaitHandle.cs
- HashAlgorithm.cs
- DataBoundControlHelper.cs
- LinkGrep.cs
- ISAPIWorkerRequest.cs
- InvalidContentTypeException.cs
- CompensatableSequenceActivity.cs
- WorkflowNamespace.cs
- RemotingServices.cs
- FixedDSBuilder.cs
- __ComObject.cs
- TracedNativeMethods.cs
- ModelFunctionTypeElement.cs
- SessionSwitchEventArgs.cs
- StringDictionaryCodeDomSerializer.cs
- AxImporter.cs
- SubtreeProcessor.cs
- SessionPageStateSection.cs
- DataObjectPastingEventArgs.cs
- GridViewPageEventArgs.cs
- Message.cs
- FileVersionInfo.cs
- Pair.cs
- Context.cs
- SafeHandle.cs
- FirewallWrapper.cs
- WindowsFormsSynchronizationContext.cs
- BinaryWriter.cs
- DigestTraceRecordHelper.cs
- HtmlControlAdapter.cs
- ListMarkerSourceInfo.cs
- Paragraph.cs
- Style.cs
- Font.cs
- Debug.cs
- PageAsyncTaskManager.cs
- ItemCheckedEvent.cs
- KeyValueInternalCollection.cs
- PrintingPermissionAttribute.cs
- TextRunProperties.cs
- ChangeTracker.cs
- XmlCDATASection.cs
- TextOptionsInternal.cs
- QueryableDataSource.cs
- ManifestResourceInfo.cs
- BlurBitmapEffect.cs
- XmlSchemaSimpleContent.cs
- AsyncPostBackErrorEventArgs.cs
- DataTableNewRowEvent.cs
- OutKeywords.cs
- ExtensionSimplifierMarkupObject.cs
- HtmlWindowCollection.cs
- EntityDataSourceReferenceGroup.cs
- FileChangesMonitor.cs
- X509KeyIdentifierClauseType.cs
- _ListenerResponseStream.cs
- DrawListViewSubItemEventArgs.cs
- ExpressionBuilder.cs
- SpecularMaterial.cs
- SortedList.cs
- AssemblyResourceLoader.cs
- SiteMapNodeItemEventArgs.cs
- ExtensionSurface.cs
- log.cs
- CollectionType.cs