Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / TileModeValidation.cs / 1 / TileModeValidation.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 IsTileModeValid(object valueObject) { TileMode value = (TileMode) valueObject; return (value == TileMode.None) || (value == TileMode.Tile) || (value == TileMode.FlipX) || (value == TileMode.FlipY) || (value == TileMode.FlipXY); } } } // 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
- MasterPageBuildProvider.cs
- GeneratedContractType.cs
- DataServices.cs
- ApplicationBuildProvider.cs
- Matrix3D.cs
- InvokeWebServiceDesigner.cs
- PrtCap_Public.cs
- XmlHierarchicalEnumerable.cs
- listitem.cs
- InvalidOperationException.cs
- PermissionRequestEvidence.cs
- AssertHelper.cs
- SessionState.cs
- DocumentEventArgs.cs
- HostnameComparisonMode.cs
- GridViewPageEventArgs.cs
- ModuleElement.cs
- DataSourceControlBuilder.cs
- DriveNotFoundException.cs
- ScaleTransform.cs
- ToolStripPanelSelectionBehavior.cs
- SizeChangedEventArgs.cs
- AnalyzedTree.cs
- RegisteredScript.cs
- QueuePathEditor.cs
- EncodingNLS.cs
- DateTimeFormatInfo.cs
- OrderedEnumerableRowCollection.cs
- ConnectionManagementElement.cs
- ScrollViewerAutomationPeer.cs
- AssemblyBuilder.cs
- ModifierKeysValueSerializer.cs
- LocalizableAttribute.cs
- DocumentGridPage.cs
- DataServiceBuildProvider.cs
- ConfigurationSection.cs
- HealthMonitoringSectionHelper.cs
- ContainerParagraph.cs
- LoginView.cs
- HandledEventArgs.cs
- XmlSchemaGroup.cs
- UserControl.cs
- GrabHandleGlyph.cs
- DbConnectionPoolCounters.cs
- VisualStyleTypesAndProperties.cs
- RichTextBoxConstants.cs
- ContractCodeDomInfo.cs
- InheritablePropertyChangeInfo.cs
- Logging.cs
- InvalidPrinterException.cs
- AppModelKnownContentFactory.cs
- MediaPlayer.cs
- Glyph.cs
- nulltextnavigator.cs
- EntityViewGenerator.cs
- AutomationIdentifier.cs
- WindowsRichEdit.cs
- AssemblyNameUtility.cs
- StylusPointPropertyInfo.cs
- ForEachDesigner.xaml.cs
- CatalogPartCollection.cs
- ProtocolsConfigurationEntry.cs
- LocalValueEnumerator.cs
- LicFileLicenseProvider.cs
- SiteMap.cs
- userdatakeys.cs
- AvTrace.cs
- TextBoxLine.cs
- CollectionViewProxy.cs
- DelegatingTypeDescriptionProvider.cs
- OverlappedAsyncResult.cs
- StringHelper.cs
- ProcessHost.cs
- MasterPageBuildProvider.cs
- WindowsEditBox.cs
- FacetValues.cs
- ObjectHelper.cs
- Publisher.cs
- SizeAnimation.cs
- WebConfigurationHostFileChange.cs
- MatrixIndependentAnimationStorage.cs
- ComponentDispatcherThread.cs
- LoginView.cs
- MasterPageCodeDomTreeGenerator.cs
- ClientRequest.cs
- InvalidPrinterException.cs
- CompileXomlTask.cs
- WebServiceErrorEvent.cs
- GroupBox.cs
- Menu.cs
- CommonObjectSecurity.cs
- CodeIdentifiers.cs
- MsmqInputSessionChannelListener.cs
- Filter.cs
- WebEvents.cs
- ByteStream.cs
- Models.cs
- MailMessage.cs
- SectionInput.cs
- ItemList.cs