Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Shared / MS / Internal / Generated / GradientSpreadMethodValidation.cs / 1 / GradientSpreadMethodValidation.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 IsGradientSpreadMethodValid(object valueObject) { GradientSpreadMethod value = (GradientSpreadMethod) valueObject; return (value == GradientSpreadMethod.Pad) || (value == GradientSpreadMethod.Reflect) || (value == GradientSpreadMethod.Repeat); } } } // 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
- BitmapFrame.cs
- WebPartRestoreVerb.cs
- DependencyPropertyConverter.cs
- TextEmbeddedObject.cs
- Activity.cs
- MulticastIPAddressInformationCollection.cs
- RelatedPropertyManager.cs
- LocationSectionRecord.cs
- TokenBasedSetEnumerator.cs
- Panel.cs
- WeakReadOnlyCollection.cs
- ResourcePermissionBaseEntry.cs
- DateTimeFormatInfoScanner.cs
- InnerItemCollectionView.cs
- UIElementAutomationPeer.cs
- DecoderExceptionFallback.cs
- HtmlGenericControl.cs
- AnnotationDocumentPaginator.cs
- InternalRelationshipCollection.cs
- RSACryptoServiceProvider.cs
- GridViewRowEventArgs.cs
- ReflectPropertyDescriptor.cs
- ProcessManager.cs
- XmlNamespaceMappingCollection.cs
- SecurityUtils.cs
- HostedElements.cs
- ObjectDataSourceSelectingEventArgs.cs
- AsyncPostBackTrigger.cs
- NameService.cs
- Rules.cs
- SpellerError.cs
- HttpClientCertificate.cs
- HelpProvider.cs
- TextEvent.cs
- OpenTypeCommon.cs
- LinkedResourceCollection.cs
- DataDocumentXPathNavigator.cs
- ResourceFallbackManager.cs
- StringArrayConverter.cs
- SrgsGrammarCompiler.cs
- GeneralTransformGroup.cs
- Image.cs
- TableCell.cs
- ReflectEventDescriptor.cs
- RegisteredHiddenField.cs
- BinaryMethodMessage.cs
- PrimitiveSchema.cs
- elementinformation.cs
- QueryCursorEventArgs.cs
- RuleConditionDialog.cs
- CachedBitmap.cs
- HtmlInputImage.cs
- PieceNameHelper.cs
- NodeLabelEditEvent.cs
- Match.cs
- SmiContextFactory.cs
- ParameterEditorUserControl.cs
- Rotation3D.cs
- Panel.cs
- PhoneCall.cs
- ResourcePool.cs
- ProxyManager.cs
- DownloadProgressEventArgs.cs
- PropertyChangedEventArgs.cs
- CodeComment.cs
- AssemblyAssociatedContentFileAttribute.cs
- ListViewDeletedEventArgs.cs
- PropertyDescriptor.cs
- AnimationStorage.cs
- WizardForm.cs
- SQLCharsStorage.cs
- SettingsBase.cs
- StrokeCollectionConverter.cs
- HtmlTitle.cs
- OracleTimeSpan.cs
- SHA1Cng.cs
- CallContext.cs
- TextTreeInsertUndoUnit.cs
- DocumentViewerBase.cs
- PathFigureCollectionValueSerializer.cs
- SqlDataReaderSmi.cs
- OptimalTextSource.cs
- DecoratedNameAttribute.cs
- BamlLocalizabilityResolver.cs
- SafeThreadHandle.cs
- WindowsRichEdit.cs
- DataGridViewRowEventArgs.cs
- WebPartHelpVerb.cs
- IMembershipProvider.cs
- PrivateFontCollection.cs
- SendingRequestEventArgs.cs
- MatrixStack.cs
- DataGridColumnFloatingHeader.cs
- Misc.cs
- SqlConnectionManager.cs
- DispatchProxy.cs
- ReadOnlyDictionary.cs
- NumericExpr.cs
- WebZone.cs
- OrderedDictionary.cs