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
- PriorityChain.cs
- XPathScanner.cs
- SingleObjectCollection.cs
- SecurityIdentifierElementCollection.cs
- FixedSOMImage.cs
- WpfXamlMember.cs
- HuffmanTree.cs
- ConnectionsZone.cs
- LogicalExpressionTypeConverter.cs
- DesignerHelpers.cs
- basevalidator.cs
- RsaSecurityKey.cs
- AssemblySettingAttributes.cs
- EditableRegion.cs
- HtmlInputSubmit.cs
- SessionIDManager.cs
- ReflectionUtil.cs
- Msmq3PoisonHandler.cs
- CodePropertyReferenceExpression.cs
- messageonlyhwndwrapper.cs
- CodeCompileUnit.cs
- EntityViewGenerator.cs
- AudioDeviceOut.cs
- BindingWorker.cs
- DataControlImageButton.cs
- SelectionHighlightInfo.cs
- LogSwitch.cs
- DesignerView.cs
- PrivilegedConfigurationManager.cs
- TaskExtensions.cs
- WasAdminWrapper.cs
- DataGridViewButtonCell.cs
- EdmProperty.cs
- SoapReflectionImporter.cs
- MgmtConfigurationRecord.cs
- DocumentScope.cs
- EncoderBestFitFallback.cs
- ClientSettingsSection.cs
- CacheDict.cs
- IntegerValidatorAttribute.cs
- XmlLanguageConverter.cs
- ReadContentAsBinaryHelper.cs
- ErrorFormatter.cs
- XmlSchemaExporter.cs
- Nullable.cs
- DataAdapter.cs
- WebPartCatalogCloseVerb.cs
- _NegoState.cs
- MessageQueue.cs
- WebConfigurationManager.cs
- ReadOnlyHierarchicalDataSourceView.cs
- EntityDataSourceChangedEventArgs.cs
- InfoCardTraceRecord.cs
- CodePageUtils.cs
- ContextMenuStrip.cs
- UIElementCollection.cs
- __ConsoleStream.cs
- PropertyValue.cs
- FontEmbeddingManager.cs
- dataprotectionpermission.cs
- SqlCharStream.cs
- XmlElementCollection.cs
- FragmentNavigationEventArgs.cs
- BaseDataBoundControlDesigner.cs
- TargetConverter.cs
- PopupRoot.cs
- WindowsBrush.cs
- OracleInternalConnection.cs
- ReadOnlyDataSource.cs
- StringComparer.cs
- NullableLongSumAggregationOperator.cs
- ForeignKeyConstraint.cs
- CfgArc.cs
- GridViewCommandEventArgs.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- Win32Interop.cs
- ClassHandlersStore.cs
- TaskFileService.cs
- TemplateLookupAction.cs
- CipherData.cs
- ActiveXHost.cs
- IntegerFacetDescriptionElement.cs
- MessageQueueConverter.cs
- ProcessHostConfigUtils.cs
- DiscreteKeyFrames.cs
- DataGridViewColumnEventArgs.cs
- _NtlmClient.cs
- Double.cs
- Point3DConverter.cs
- OleDbDataReader.cs
- ConcatQueryOperator.cs
- TreeNodeSelectionProcessor.cs
- MenuItemBinding.cs
- ObsoleteAttribute.cs
- CommandEventArgs.cs
- MouseCaptureWithinProperty.cs
- InputScopeConverter.cs
- RectangleGeometry.cs
- State.cs
- ObjectContext.cs