Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ZoneLinkButton.cs
- NullRuntimeConfig.cs
- MemberPath.cs
- Base64Encoding.cs
- SrgsElement.cs
- ServiceInstallComponent.cs
- MetadataArtifactLoaderResource.cs
- SqlEnums.cs
- TreeNodeCollection.cs
- ReceiveErrorHandling.cs
- XmlParserContext.cs
- KnownColorTable.cs
- DateTimeFormatInfoScanner.cs
- ReverseInheritProperty.cs
- DESCryptoServiceProvider.cs
- MultiPageTextView.cs
- ModelChangedEventArgsImpl.cs
- Substitution.cs
- SessionPageStateSection.cs
- ParseNumbers.cs
- ControlLocalizer.cs
- ConstraintEnumerator.cs
- EdmError.cs
- RightsManagementEncryptedStream.cs
- MD5CryptoServiceProvider.cs
- ParallelLoopState.cs
- XmlEntity.cs
- CheckBoxList.cs
- Processor.cs
- LOSFormatter.cs
- SafeFileMappingHandle.cs
- SqlConnectionString.cs
- BindUriHelper.cs
- HttpProfileGroupBase.cs
- UpDownEvent.cs
- ExpressionWriter.cs
- X509CertificateInitiatorServiceCredential.cs
- Visual3D.cs
- DocumentPage.cs
- AstTree.cs
- Operators.cs
- WaitHandle.cs
- FixedSOMPageElement.cs
- ReadOnlyDictionary.cs
- EntryIndex.cs
- XmlIlVisitor.cs
- KernelTypeValidation.cs
- PrivacyNoticeElement.cs
- WinEventQueueItem.cs
- InstanceOwner.cs
- ExpressionTextBox.xaml.cs
- SerTrace.cs
- TemplateControlCodeDomTreeGenerator.cs
- BatchServiceHost.cs
- OdbcErrorCollection.cs
- JsonEncodingStreamWrapper.cs
- XmlTextAttribute.cs
- PartitionResolver.cs
- WeakReference.cs
- DoWorkEventArgs.cs
- ComAdminInterfaces.cs
- MergeFilterQuery.cs
- ComponentEvent.cs
- AsyncOperation.cs
- ClientTargetCollection.cs
- ToolStripManager.cs
- IxmlLineInfo.cs
- XmlCharType.cs
- RuleDefinitions.cs
- XmlSerializer.cs
- SendingRequestEventArgs.cs
- InkCanvas.cs
- MarginCollapsingState.cs
- SmtpDigestAuthenticationModule.cs
- ActiveXMessageFormatter.cs
- ThousandthOfEmRealDoubles.cs
- SafeNativeMethods.cs
- TraceProvider.cs
- WebPartHelpVerb.cs
- SecurityPolicySection.cs
- XmlIterators.cs
- BindingFormattingDialog.cs
- EdmTypeAttribute.cs
- BooleanToVisibilityConverter.cs
- MessageQueuePermission.cs
- SecondaryIndexList.cs
- Parser.cs
- OrderedHashRepartitionEnumerator.cs
- TdsParserSafeHandles.cs
- MemberHolder.cs
- HtmlInputRadioButton.cs
- SQLDoubleStorage.cs
- BehaviorService.cs
- TextSelectionHelper.cs
- StateElement.cs
- WebPartVerbsEventArgs.cs
- EventLogTraceListener.cs
- AtomMaterializer.cs
- PointAnimationUsingPath.cs
- _SslState.cs