Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / TextEffect.cs / 1 / TextEffect.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: TextEffect.cs // // Contents: TextEffect class // // Created: 3/23/2004 [....] // //----------------------------------------------------------------------- using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Collections; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Markup; using System.ComponentModel; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Media { ////// The class definition for TextEffect /// [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)] public partial class TextEffect : Animatable { //---------------------------------------- // constructor //---------------------------------------- ////// Constructor to TextEffect /// /// transform of the text effect /// foreground of the text effect /// clip of the text effect /// starting character index of the text effect /// number of code points public TextEffect( Transform transform, Brush foreground, Geometry clip, int positionStart, int positionCount ) { if (positionCount < 0) { throw new ArgumentOutOfRangeException("positionCount", SR.Get(SRID.ParameterCannotBeNegative)); } Transform = transform; Foreground = foreground; Clip = clip; PositionStart = positionStart; PositionCount = positionCount; } ////// constructor /// public TextEffect() { } //------------------------------- // Private method //------------------------------- private static bool OnPositionStartChanging(int value) { return (value >= 0); } private static bool OnPositionCountChanging(int value) { return (value >= 0); } } } // 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
- InternalPolicyElement.cs
- ServiceElementCollection.cs
- BaseInfoTable.cs
- ArrayTypeMismatchException.cs
- PrintController.cs
- ChtmlTextBoxAdapter.cs
- HierarchicalDataTemplate.cs
- StaticResourceExtension.cs
- SqlCommandSet.cs
- HasCopySemanticsAttribute.cs
- MatrixAnimationUsingPath.cs
- MessageSecurityOverTcpElement.cs
- TreeNode.cs
- RealizationDrawingContextWalker.cs
- SecureEnvironment.cs
- BypassElementCollection.cs
- SchemaElementDecl.cs
- ErrorRuntimeConfig.cs
- ApplicationSecurityInfo.cs
- LocalizabilityAttribute.cs
- SR.Designer.cs
- IntegerValidatorAttribute.cs
- DisplayInformation.cs
- SchemaSetCompiler.cs
- URL.cs
- Helper.cs
- SafeNativeMethods.cs
- DecoderBestFitFallback.cs
- PasswordRecovery.cs
- MembershipValidatePasswordEventArgs.cs
- figurelength.cs
- SerializationEventsCache.cs
- SqlBuffer.cs
- SettingsSavedEventArgs.cs
- ConfigurationValidatorAttribute.cs
- ApplicationId.cs
- SqlXml.cs
- FormViewPageEventArgs.cs
- FusionWrap.cs
- ScrollViewer.cs
- shaperfactoryquerycacheentry.cs
- ScaleTransform3D.cs
- Win32PrintDialog.cs
- HuffmanTree.cs
- UIElement3DAutomationPeer.cs
- SizeAnimationClockResource.cs
- PageHandlerFactory.cs
- ImageDrawing.cs
- CellIdBoolean.cs
- Transform3DGroup.cs
- DBAsyncResult.cs
- ConnectionConsumerAttribute.cs
- LayoutExceptionEventArgs.cs
- EntityDesignerDataSourceView.cs
- PriorityChain.cs
- BaseTreeIterator.cs
- WindowsFont.cs
- RadioButtonBaseAdapter.cs
- IndexedGlyphRun.cs
- RenderOptions.cs
- SchemaInfo.cs
- KeyGestureConverter.cs
- WindowsContainer.cs
- ContentOperations.cs
- DataPagerFieldCollection.cs
- SqlWriter.cs
- Menu.cs
- BaseValidator.cs
- SerializationHelper.cs
- QueryableFilterUserControl.cs
- CheckoutException.cs
- RequiredFieldValidator.cs
- StrongNameKeyPair.cs
- VectorCollectionConverter.cs
- Metafile.cs
- FixedSOMSemanticBox.cs
- Stroke2.cs
- WebColorConverter.cs
- SpecularMaterial.cs
- TextEffectResolver.cs
- EntityDataSourceSelectingEventArgs.cs
- DataGridTextBox.cs
- CompositeScriptReferenceEventArgs.cs
- FileAuthorizationModule.cs
- TiffBitmapDecoder.cs
- EntityProxyTypeInfo.cs
- CompressionTransform.cs
- EncoderParameter.cs
- XmlSchemaDocumentation.cs
- EventlogProvider.cs
- ToolStripItemEventArgs.cs
- Fonts.cs
- DbConnectionStringCommon.cs
- ListDictionary.cs
- EntityContainerRelationshipSetEnd.cs
- WindowsFormsSynchronizationContext.cs
- QilUnary.cs
- WebEventTraceProvider.cs
- DbDataSourceEnumerator.cs
- OdbcParameterCollection.cs