Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / StretchValidation.cs / 1 / StretchValidation.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 IsStretchValid(object valueObject) { Stretch value = (Stretch) valueObject; return (value == Stretch.None) || (value == Stretch.Fill) || (value == Stretch.Uniform) || (value == Stretch.UniformToFill); } } } // 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
- TreeIterators.cs
- StorageEntityContainerMapping.cs
- ComplusEndpointConfigContainer.cs
- RenamedEventArgs.cs
- ExpandSegment.cs
- Size3D.cs
- MarginCollapsingState.cs
- ItemAutomationPeer.cs
- EdmItemError.cs
- MailSettingsSection.cs
- ResXBuildProvider.cs
- BaseTemplateBuildProvider.cs
- TextRenderer.cs
- TreeBuilderXamlTranslator.cs
- PrinterSettings.cs
- NameValuePair.cs
- NullableLongSumAggregationOperator.cs
- ChangeConflicts.cs
- SettingsProviderCollection.cs
- SystemIPGlobalProperties.cs
- MutexSecurity.cs
- ProjectedSlot.cs
- safex509handles.cs
- RadioButton.cs
- DataGridViewRow.cs
- ListViewUpdateEventArgs.cs
- TextSelectionHighlightLayer.cs
- KnownBoxes.cs
- MessageLogger.cs
- ScrollProperties.cs
- GetMemberBinder.cs
- SqlBulkCopyColumnMapping.cs
- MdiWindowListStrip.cs
- InputDevice.cs
- SqlBinder.cs
- ConfigurationLocation.cs
- CodeMemberField.cs
- LexicalChunk.cs
- SafePEFileHandle.cs
- NameValueConfigurationElement.cs
- InstanceCreationEditor.cs
- WindowsAuthenticationModule.cs
- LongAverageAggregationOperator.cs
- PeerNodeTraceRecord.cs
- ControlPropertyNameConverter.cs
- DebugView.cs
- CompModSwitches.cs
- XamlPointCollectionSerializer.cs
- EventEntry.cs
- CollectionBase.cs
- DetailsViewPagerRow.cs
- DataGridViewComboBoxColumn.cs
- DataKeyCollection.cs
- XmlNavigatorFilter.cs
- DisableDpiAwarenessAttribute.cs
- UrlMapping.cs
- ObjectPersistData.cs
- DataGridViewTextBoxEditingControl.cs
- ZipFileInfo.cs
- SqlParameter.cs
- AppDomainFactory.cs
- RoleService.cs
- RuntimeIdentifierPropertyAttribute.cs
- BindingMAnagerBase.cs
- TraceHandlerErrorFormatter.cs
- NegotiationTokenAuthenticator.cs
- CommunicationObjectManager.cs
- FillErrorEventArgs.cs
- RuntimeTransactionHandle.cs
- ProfileInfo.cs
- EventDescriptorCollection.cs
- DataReceivedEventArgs.cs
- Token.cs
- DetailsViewCommandEventArgs.cs
- XmlDeclaration.cs
- ImageAnimator.cs
- DnsCache.cs
- httpapplicationstate.cs
- mediaeventshelper.cs
- KnownTypes.cs
- TextTreeTextNode.cs
- counter.cs
- HwndKeyboardInputProvider.cs
- NamedObject.cs
- CodeIdentifier.cs
- HealthMonitoringSection.cs
- ToolStripItemRenderEventArgs.cs
- CreateUserWizard.cs
- ConfigurationPermission.cs
- SmtpClient.cs
- NativeActivityAbortContext.cs
- RSAPKCS1SignatureDeformatter.cs
- DisplayInformation.cs
- IgnoreSectionHandler.cs
- SQLUtility.cs
- DoubleSumAggregationOperator.cs
- DataGridViewLinkColumn.cs
- WebHeaderCollection.cs
- CryptoConfig.cs
- WindowsGraphics2.cs