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
- XmlObjectSerializerWriteContext.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ToolStripGrip.cs
- FileIOPermission.cs
- ILGen.cs
- DragStartedEventArgs.cs
- Int64KeyFrameCollection.cs
- FunctionDetailsReader.cs
- DateTimeOffsetConverter.cs
- SqlProcedureAttribute.cs
- _ListenerResponseStream.cs
- DoubleCollectionConverter.cs
- FocusWithinProperty.cs
- ByteStack.cs
- ConfigXmlWhitespace.cs
- UnmanagedMemoryStream.cs
- DataGridViewCellPaintingEventArgs.cs
- Transform3D.cs
- DataControlFieldCell.cs
- CommandBindingCollection.cs
- SQLInt16.cs
- TypeBuilderInstantiation.cs
- DeflateEmulationStream.cs
- OdbcInfoMessageEvent.cs
- SessionPageStatePersister.cs
- SEHException.cs
- WebPartMovingEventArgs.cs
- MarkupProperty.cs
- IBuiltInEvidence.cs
- CallSiteOps.cs
- DynamicRendererThreadManager.cs
- NameValueCollection.cs
- DialogDivider.cs
- UnionQueryOperator.cs
- UpDownEvent.cs
- WorkflowServiceHostFactory.cs
- ExtendedProperty.cs
- AsyncPostBackTrigger.cs
- BatchStream.cs
- Frame.cs
- TemplateModeChangedEventArgs.cs
- InputScopeAttribute.cs
- StrokeNodeData.cs
- AssociationSet.cs
- XmlSchemaSequence.cs
- XmlQuerySequence.cs
- GroupBox.cs
- HostingEnvironmentException.cs
- GregorianCalendarHelper.cs
- XamlLoadErrorInfo.cs
- XmlCharCheckingReader.cs
- ForceCopyBuildProvider.cs
- ElementNotAvailableException.cs
- TreeWalker.cs
- PixelFormats.cs
- BitmapImage.cs
- WebScriptMetadataMessage.cs
- Globals.cs
- ListControlStringCollectionEditor.cs
- XmlILStorageConverter.cs
- WebBrowser.cs
- Error.cs
- ColumnHeaderConverter.cs
- HotSpotCollection.cs
- ButtonBaseAdapter.cs
- TransactionFlowBindingElementImporter.cs
- ListViewGroupConverter.cs
- AndAlso.cs
- ResourceWriter.cs
- GeometryConverter.cs
- ContractCodeDomInfo.cs
- ObjectDataSourceMethodEventArgs.cs
- HasCopySemanticsAttribute.cs
- KeyManager.cs
- Triplet.cs
- DeflateStream.cs
- Ops.cs
- TraceContextRecord.cs
- Color.cs
- MarkerProperties.cs
- FindCriteria11.cs
- ScriptHandlerFactory.cs
- AddDataControlFieldDialog.cs
- SessionStateSection.cs
- LoginUtil.cs
- RegexInterpreter.cs
- PerformanceCounterCategory.cs
- SemaphoreSecurity.cs
- RelatedImageListAttribute.cs
- DurationConverter.cs
- TraceXPathNavigator.cs
- DataGridColumnCollection.cs
- DataGridViewRowPrePaintEventArgs.cs
- SafeNativeMethods.cs
- StateWorkerRequest.cs
- DataColumn.cs
- ThreadInterruptedException.cs
- ByteAnimationBase.cs
- ContractUtils.cs
- AlternateView.cs