Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / Generated / TextRenderingModeValidation.cs / 1305600 / TextRenderingModeValidation.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 IsTextRenderingModeValid(object valueObject) { TextRenderingMode value = (TextRenderingMode) valueObject; return (value == TextRenderingMode.Auto) || (value == TextRenderingMode.Aliased) || (value == TextRenderingMode.Grayscale) || (value == TextRenderingMode.ClearType); } } } // 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
- FontStretches.cs
- DataObject.cs
- DBDataPermissionAttribute.cs
- InputProcessorProfiles.cs
- QuaternionIndependentAnimationStorage.cs
- TdsParserStaticMethods.cs
- DataGridViewDataConnection.cs
- WmlPageAdapter.cs
- DayRenderEvent.cs
- Utils.cs
- StorageConditionPropertyMapping.cs
- CounterCreationDataConverter.cs
- WindowsComboBox.cs
- Cloud.cs
- TextDecoration.cs
- ReadWriteControlDesigner.cs
- PathFigureCollectionConverter.cs
- TcpTransportManager.cs
- COM2IDispatchConverter.cs
- DrawingServices.cs
- SessionParameter.cs
- ProfileSettingsCollection.cs
- RequestValidator.cs
- DocumentPageHost.cs
- PathSegmentCollection.cs
- WebPartVerbsEventArgs.cs
- UnsafeNativeMethodsPenimc.cs
- ToggleProviderWrapper.cs
- WindowsGrip.cs
- DocumentEventArgs.cs
- GridViewColumnCollection.cs
- MethodBuilder.cs
- BitmapCodecInfoInternal.cs
- ResourceKey.cs
- ViewManager.cs
- NamespaceCollection.cs
- ComponentChangingEvent.cs
- FunctionUpdateCommand.cs
- ToolStripOverflowButton.cs
- InputReport.cs
- IndentTextWriter.cs
- OleDbEnumerator.cs
- PathGeometry.cs
- AppliesToBehaviorDecisionTable.cs
- CompiledELinqQueryState.cs
- TimeSpan.cs
- NegatedCellConstant.cs
- KnownBoxes.cs
- StylusPoint.cs
- TcpAppDomainProtocolHandler.cs
- ObjectDataSourceFilteringEventArgs.cs
- QueryPageSettingsEventArgs.cs
- BaseTemplateBuildProvider.cs
- StringValueSerializer.cs
- SettingsPropertyValue.cs
- ClientSettingsProvider.cs
- GridEntryCollection.cs
- ObjectReferenceStack.cs
- RawStylusInputCustomData.cs
- GridItemProviderWrapper.cs
- SQLMembershipProvider.cs
- SQLDoubleStorage.cs
- GiveFeedbackEvent.cs
- ConsumerConnectionPoint.cs
- sqlmetadatafactory.cs
- TextWriterTraceListener.cs
- XslVisitor.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- Char.cs
- SpeechRecognizer.cs
- IsolationInterop.cs
- DataAdapter.cs
- UserNameSecurityToken.cs
- PageHandlerFactory.cs
- ContractMethodParameterInfo.cs
- RotateTransform.cs
- MultiAsyncResult.cs
- GridViewRowEventArgs.cs
- Tuple.cs
- CqlBlock.cs
- WebPartChrome.cs
- LassoSelectionBehavior.cs
- HiddenField.cs
- Listbox.cs
- ISessionStateStore.cs
- MergePropertyDescriptor.cs
- ConfigurationSectionGroup.cs
- DataTablePropertyDescriptor.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- DecimalStorage.cs
- XPathSelectionIterator.cs
- LifetimeServices.cs
- FixedSOMContainer.cs
- MemberMemberBinding.cs
- QilValidationVisitor.cs
- ToolStripDropTargetManager.cs
- UIElement3D.cs
- DropSourceBehavior.cs
- DelegateTypeInfo.cs
- RedirectionProxy.cs