Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TileModeValidation.cs / 1305600 / TileModeValidation.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 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. //---------------------------------------------------------------------------- // //// 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 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
- HttpApplication.cs
- DiagnosticStrings.cs
- SqlFormatter.cs
- EventLog.cs
- TextParagraphProperties.cs
- GridViewCommandEventArgs.cs
- PreviewPageInfo.cs
- PageThemeBuildProvider.cs
- WebBrowserDocumentCompletedEventHandler.cs
- DataGridViewCellMouseEventArgs.cs
- GroupBoxAutomationPeer.cs
- RelatedPropertyManager.cs
- BufferBuilder.cs
- COM2FontConverter.cs
- DocumentPageViewAutomationPeer.cs
- Command.cs
- ToolStripCustomTypeDescriptor.cs
- AggregateNode.cs
- UrlPath.cs
- NotifyParentPropertyAttribute.cs
- AuthStoreRoleProvider.cs
- HandleExceptionArgs.cs
- InputEventArgs.cs
- FixedPageAutomationPeer.cs
- WebPartConnectionsCancelEventArgs.cs
- ChangePassword.cs
- Avt.cs
- Util.cs
- ComAdminInterfaces.cs
- StringPropertyBuilder.cs
- IERequestCache.cs
- SingleAnimationUsingKeyFrames.cs
- TextReader.cs
- UniqueSet.cs
- XmlSchemaIdentityConstraint.cs
- PowerEase.cs
- TextOptions.cs
- AbsoluteQuery.cs
- Trace.cs
- MediaSystem.cs
- DataGridPagerStyle.cs
- IntAverageAggregationOperator.cs
- CheckBoxList.cs
- PageAdapter.cs
- ScriptControlDescriptor.cs
- VirtualizedCellInfoCollection.cs
- LateBoundBitmapDecoder.cs
- ILGenerator.cs
- _ChunkParse.cs
- _LazyAsyncResult.cs
- XmlnsDefinitionAttribute.cs
- DataGridDesigner.cs
- BindingCollection.cs
- OleStrCAMarshaler.cs
- LogStore.cs
- XmlUtf8RawTextWriter.cs
- CodeValidator.cs
- BuildResultCache.cs
- GeometryConverter.cs
- PriorityItem.cs
- FastEncoder.cs
- ServicePoint.cs
- DataServiceExpressionVisitor.cs
- WCFServiceClientProxyGenerator.cs
- XmlValidatingReaderImpl.cs
- ReflectionHelper.cs
- ConstructorArgumentAttribute.cs
- AudioFileOut.cs
- CodeAttributeArgumentCollection.cs
- TextRangeAdaptor.cs
- EventHandlerList.cs
- WindowsScrollBarBits.cs
- Connector.xaml.cs
- OleDbConnectionFactory.cs
- TextLineResult.cs
- StringComparer.cs
- DataControlHelper.cs
- NTAccount.cs
- DrawTreeNodeEventArgs.cs
- SQlBooleanStorage.cs
- CombinedGeometry.cs
- OrderedParallelQuery.cs
- VScrollProperties.cs
- WindowsFormsLinkLabel.cs
- CodeAccessSecurityEngine.cs
- SplayTreeNode.cs
- SiteMapNodeCollection.cs
- WebBrowserEvent.cs
- ContractComponent.cs
- Panel.cs
- DesignerActionHeaderItem.cs
- WindowsEditBoxRange.cs
- StyleTypedPropertyAttribute.cs
- SQLMoneyStorage.cs
- unitconverter.cs
- EncryptedPackageFilter.cs
- XPathNodeIterator.cs
- SpecularMaterial.cs
- EventMappingSettingsCollection.cs
- SqlDataSource.cs