Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / PenLineCapValidation.cs / 1305600 / PenLineCapValidation.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 IsPenLineCapValid(object valueObject) { PenLineCap value = (PenLineCap) valueObject; return (value == PenLineCap.Flat) || (value == PenLineCap.Square) || (value == PenLineCap.Round) || (value == PenLineCap.Triangle); } } } // 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
- EventMappingSettings.cs
- Comparer.cs
- DesignerSerializerAttribute.cs
- PrintEvent.cs
- DocumentDesigner.cs
- EmptyStringExpandableObjectConverter.cs
- SafeArrayRankMismatchException.cs
- Globals.cs
- SuppressIldasmAttribute.cs
- ProvidePropertyAttribute.cs
- ResourceAttributes.cs
- AutomationAttributeInfo.cs
- MSHTMLHost.cs
- OraclePermission.cs
- ConfigXmlWhitespace.cs
- PolyBezierSegment.cs
- XamlSerializerUtil.cs
- OleDbParameter.cs
- ClipboardProcessor.cs
- TraceContextRecord.cs
- SoapTypeAttribute.cs
- _OSSOCK.cs
- Keywords.cs
- EntityDataSourceColumn.cs
- HTTPRemotingHandler.cs
- Decoder.cs
- SqlErrorCollection.cs
- CompositeTypefaceMetrics.cs
- ListViewItemCollectionEditor.cs
- NodeLabelEditEvent.cs
- DataListDesigner.cs
- BasePattern.cs
- DPCustomTypeDescriptor.cs
- SchemaNamespaceManager.cs
- CheckedListBox.cs
- StringReader.cs
- PathSegmentCollection.cs
- LassoHelper.cs
- Win32KeyboardDevice.cs
- X509Chain.cs
- HierarchicalDataBoundControlAdapter.cs
- UnionCodeGroup.cs
- UrlPath.cs
- Automation.cs
- ResourceDictionary.cs
- FusionWrap.cs
- hresults.cs
- CachedFontFace.cs
- CalendarButton.cs
- WebPartHeaderCloseVerb.cs
- _NTAuthentication.cs
- XamlHostingSection.cs
- AttributeTable.cs
- WindowsGraphicsWrapper.cs
- Monitor.cs
- BitmapEffectGeneralTransform.cs
- SqlTrackingWorkflowInstance.cs
- SoapException.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- VBIdentifierName.cs
- WindowsTab.cs
- DeviceOverridableAttribute.cs
- Pool.cs
- SchemaAttDef.cs
- HeaderedItemsControl.cs
- UnsafeNativeMethods.cs
- ProcessHostMapPath.cs
- XmlDataSource.cs
- TextRangeProviderWrapper.cs
- ListenerConfig.cs
- DetailsViewDeleteEventArgs.cs
- ChtmlCommandAdapter.cs
- DockingAttribute.cs
- ScriptReferenceBase.cs
- EditorZone.cs
- WmlSelectionListAdapter.cs
- TimeSpanValidatorAttribute.cs
- BaseAppDomainProtocolHandler.cs
- SchemaNamespaceManager.cs
- HttpHandlerActionCollection.cs
- ADRole.cs
- GridEntry.cs
- PathBox.cs
- _HelperAsyncResults.cs
- xmlNames.cs
- Parser.cs
- mongolianshape.cs
- BuildResultCache.cs
- InvalidCastException.cs
- AlternateView.cs
- TemplateField.cs
- XslUrlEditor.cs
- SortQuery.cs
- CodeSnippetExpression.cs
- RadialGradientBrush.cs
- SearchForVirtualItemEventArgs.cs
- ShapeTypeface.cs
- TileBrush.cs
- SortDescription.cs
- GridViewRowEventArgs.cs